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