Community
    • Login

    Strange Characters

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    charactersdisplayunicodeconvertfont
    2 Posts 2 Posters 9.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Scotty HuffS
      Scotty Huff
      last edited by Scotty Huff

      Please excuse the noob question, but I have some XML files that come from clients where certain characters are showing up strange. When I look at the file with a different editor, they are fine.

      Here’s an example:

      <RefrigerationDescription>Freezer(caf驼/RefrigerationDescription>

      You’ll notice after the word ‘Freezer’ there is a ‘(caf驼’ which is supposed to be ‘(cafè)<’. Oddly enough, it looks different as I’m posting it. In regular Windows Notepad, the word ‘cafè’ looks correct. In Notepad++, however, It shows up as ‘xE9’ with a black background but it does have the ending parenthesis and ‘<’ character.

      I thought that would be a Unicode character, but again, other editors with Unicode font displays it correctly. What would cause this? What character code is it? Can it be converted/displayed correctly in Notepad++?

      UPDATE:
      I should clarify, in Notepad++, the word '(cafè)" displays as ‘(cafxE9)’, with a black background around the ‘xE9’.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Scotty Huff
        last edited by

        Hello @Scotty-Huff,
        normally XML should be UTF-8 encoded but actually I assume this is ANSI.

        Give it a try to change in Menu Encoding->Encode ANSI/UTF-8

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors