• Login
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.
  • S
    Scotty Huff
    last edited by Scotty Huff Apr 18, 2016, 5:41 PM Apr 18, 2016, 5:39 PM

    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’.

    C 1 Reply Last reply Apr 19, 2016, 1:51 AM Reply Quote 0
    • C
      Claudia Frank @Scotty Huff
      last edited by Apr 19, 2016, 1:51 AM

      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
      2 out of 2
      • First post
        2/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors