I'm having an issue when I use PowerShell to copy data from an XML sheet into an Excel sheet. The data from the XML file looks like this: <TrackTitle>I'm the One</TrackTitle>
, but the result in Excel looks like this: IÂ’'m the One
. Anyone know what might be happening with the apostrophe? All I'm doing is grabbing that TrackTitle node and inserting it into an Excel spreadsheet, nothing fancy. I think it's an encoding issue? But I don't know how to affect the encoding of the information as I move it. Thanks a bunch for any help.
Edit: Here's the hex code of the passage in question. In the HxD hex editor, the funky characters show up as well.
In the XML document in HxD,
"IÂ’'m the One" = "49 C2 92 27 6D 20 74 68 65 20 4F 6E 65"
If I use Edit → Copy as → Editor view, this comes up when I select IÂ’'m the One
:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 00004AA0 49 C2 92 27 6D 20 74 68 65 20 IÂ’'m the 00004AB0 4F 6E 65 One
It's strange that the characters get distorted even in HxD. In the XML it looks completely normal.