Community
    • Login

    Strange Characters

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    charactersdisplayunicodeconvertfont
    2 Posts 2 Posters 10.2k Views 2 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors