Package utf8x Error: MalformedUTF-8sequence

  • Creatore
    Topic
  • #75818
    Up
    0
    Down
    ::


    Ciao a tutti

    ho realizzato una relazione con latex, stasera la stavo modificando ma quando l’ho compilata mi ritorna questo errore

    `Package utf8x Error: MalformedUTF-8sequence
    ucs: Unknown Unicode character 65533 = U+FFFD,(ucs) possibly declared in uni-255.def.
    Package utf8x Error: MalformedUTF-8sequence`

    Il problema che mi riporta l’errore alla linea 0 e quindi non riesco ad individuare l’errore.

    Ho utilizzato i comandi \lstinline e \begin{lstlisting} per mantenere la sintassi di matlab.

    Come posso trovare l’errore e risolvere?

    Devo consegnare la relazione venerdì prosismo 🙁

    Ciao a tutti!

Visualizzazione 2 filoni di risposte
  • Autore
    Risposte
    • #75819
      Up
      0
      Down
      ::

      fedex03″ post=74977Ciao a tutti

      ho realizzato una relazione con latex, stasera la stavo modificando ma quando l’ho compilata mi ritorna questo errore

      `Package utf8x Error: MalformedUTF-8sequence
      ucs: Unknown Unicode character 65533 = U+FFFD,(ucs) possibly declared in uni-255.def.
      Package utf8x Error: MalformedUTF-8sequence`

      Il problema che mi riporta l’errore alla linea 0 e quindi non riesco ad individuare l’errore.

      Ho utilizzato i comandi \lstinline e \begin{lstlisting} per mantenere la sintassi di matlab.

      Come posso trovare l’errore e risolvere?

      Devo consegnare la relazione venerdì prosismo 🙁

      Ciao a tutti!

      Hai un BOM all’inizio del file: http://en.wikipedia.org/wiki/Byte_order_mark

      Come toglierlo? Cerca nelle preferenze del tuo editor.

      Ciao
      Enrico

    • #75820
      Up
      0
      Down
      ::


      sto provando a toglierlo ma non so proprio che opzione modificare..e sinceramente ho paura di combinare qualche casino..
      questo è il codice che mi sembra più attinente al problema, ma la riga relativa al BOM sembra ok (è posto a 0):

      `
      // ===============================================================================
      // -*- DATA:INI:EDT -*-
      //
      // WinEdt Unicode / UTF-8 Support
      //
      // ===============================================================================

      [BUILD]

      REQUIRES=20111025

      // ===============================================================================

      [UNICODE]

      // ===============================================================================

      // Character Sets in Regular Expressions can only contain characters in range:
      // 0..256*UNICODE_CHARSET_RANGE-1
      //
      // Use Character Map to see what is the maximum value
      // for your use of Sets in RegEx…
      //
      // Specify what you need but remember that large values use extra
      // memory and make set expressions slower!

      UNICODE_CHARSET_RANGE=8 // 1 (Western) .. 256 (Full Unicode Character Set)

      // ===============================================================================

      // Use Code Page-specific Character Map for non-unicode Documents
      CP_CHAR_MAP=1

      // ===============================================================================

      // UNICODE (UTF-16) format is detected automatically using Windows API
      // If loaded file contains BOM it will be preserved when the file is saved
      // Document Settings Dialog shows Current Format, BOM, and Code Page
      // (it can be changed there)…

      // In the absence of BOM WinEdt has to know how to load a file!
      // UTF-8 is the default format:

      UTF8_BOM=0
      UTF8_ENABLED=1
      UTF8_MODE_FILTER=”*;UTF-8;EDT;INI|UNICODE;UTF-7;ACP;OEM”

      // If you want WinEdt to use default Windows code page
      // (like non-unicode versions of WinEdt 5 or 6) remove *; from
      // UTF8_MODE_FILTER and add it to ANSI CCP_MODE_FILTER below!

      // ===============================================================================

      // The options from here on are for advanced users that need more than UTF-8!

      // Wide (16-bit) Characters (UTF-16)

      UNICODE_BOM=0
      UNICODE_ENABLED=1
      UNICODE_MODE_FILTER=”UNICODE|UTF-8;UTF-7;ACP;OEM”

      // ===============================================================================

      // Alternative non-UNICODE formats linked to (Code Page) submode ACP or OEM…

      CCP=”ANSI”
      CCP_ENABLED=1
      CCP_MODE_FILTER=”ACP|UNICODE;UTF-8;UTF-7;OEM”
      CCP_VALUE=0

      CCP=”OEM”
      CCP_ENABLED=1
      CCP_MODE_FILTER=”OEM”
      CCP_VALUE=1

      CCP=”UTF-7″
      CCP_ENABLED=1
      CCP_MODE_FILTER=”UTF-7″
      CCP_VALUE=65000

      // If the mode ends with submode :CP then the indicated code page
      // is used to load the file in unicode format.
      // For example: TeX:CP1251 uses Cyrillic code page

      // List of Code pages available in CP Converter (Document Settings Dialog)
      // Remove code pages that are no interest to you
      // You can also reorder available code pages…
      LIST=”END_LIST”
      -1 Auto Detect
      0 Default ANSI code page
      1 Default OEM code page
      2 Default MAC code page
      3 Current thread's ANSI code page
      42 SYMBOL translations
      437 OEM MS-DOS United States
      708 OEM Arabic (ASMO 708)
      709 OEM Arabic (ASMO 449+, BCON V4)
      710 OEM Arabic (Transparent Arabic)
      720 OEM Arabic (Transparent ASMO)
      737 OEM Greek (formerly 437G)
      775 OEM Baltic
      850 OEM MS-DOS Multilingual (Latin I)
      852 OEM MS-DOS Slavic (Latin II)
      855 OEM IBM Cyrillic (primarily Russian)
      857 OEM IBM Turkish
      860 OEM MS-DOS Portuguese
      861 OEM MS-DOS Icelandic
      862 OEM Hebrew
      863 OEM MS-DOS Canadian-French
      864 OEM Arabic
      865 OEM MS-DOS Nordic
      866 OEM MS-DOS Russian (former USSR)
      869 OEM IBM Modern Greek
      874 OEM Thai
      932 OEM Japan
      936 OEM Chinese (PRC, Singapore)
      949 OEM Korean
      950 OEM Chinese (Taiwan, Hong Kong)Korean (Johab)
      1200 Unicode (BMP of ISO 10646)
      1250 Windows 3.1 Eastern European
      1251 Windows 3.1 Cyrillic
      1252 Windows 3.1 Latin 1 (US, Western Europe)
      1253 Windows 3.1 Greek
      1254 Windows 3.1 Turkish
      1255 Hebrew
      1256 Arabic
      1257 Baltic
      1361 OEM Korean (Johab)
      65000 UTF-7
      65001 UTF-8
      END_LIST

      // ===============================================================================

      [END]

      `

    • #75821
      Up
      0
      Down
      ::

      egreg9″ post=74978

      Ciao a tutti

      ho realizzato una relazione con latex, stasera la stavo modificando ma quando l’ho compilata mi ritorna questo errore

      `Package utf8x Error: MalformedUTF-8sequence
      ucs: Unknown Unicode character 65533 = U+FFFD,(ucs) possibly declared in uni-255.def.
      Package utf8x Error: MalformedUTF-8sequence`

      Il problema che mi riporta l’errore alla linea 0 e quindi non riesco ad individuare l’errore.

      Ho utilizzato i comandi \lstinline e \begin{lstlisting} per mantenere la sintassi di matlab.

      Come posso trovare l’errore e risolvere?

      Devo consegnare la relazione venerdì prosismo 🙁

      Ciao a tutti!

      Hai un BOM all’inizio del file: http://en.wikipedia.org/wiki/Byte_order_mark

      Come toglierlo? Cerca nelle preferenze del tuo editor.

      Ciao
      Enrico

      Ciao,

      ho risolto, il problema era una ‘é’ nel file matlab che importavo.

      Sostituendola con “e’ ” tutto si è risolto.

      Ciao

Visualizzazione 2 filoni di risposte
  • Devi essere connesso per rispondere a questo topic.

Go to top