Alexandre Takacs
asked on
Server 2012 handling of non unicode files
I'm having an issue with "plain ASCII" file on a Server 2012R2 server.
I have two users opening the exact same file using notepad in two different sessions and they have a different representation:
I have checked their "language" control panel and they have the exact same settings. This is the same machine (RDS server)... just two different users...
I muss say that I'm stomped...
I have two users opening the exact same file using notepad in two different sessions and they have a different representation:
I have checked their "language" control panel and they have the exact same settings. This is the same machine (RDS server)... just two different users...
I muss say that I'm stomped...
if you configured shadow copies, try to retrieve any previous version of that file from there for troubleshooting.
ASKER
Sorry the file was just generated and put on a local drive (on the RDS machine).
It is the very same file opened once by user A then by user B.
So the issue is about some code page or other similar thing pertaining to the representation / interpretation of ASCII > 127 by the OS. That's ooooold stuff I honestly don't remember... but definitely not a corrupted file !
It is the very same file opened once by user A then by user B.
So the issue is about some code page or other similar thing pertaining to the representation / interpretation of ASCII > 127 by the OS. That's ooooold stuff I honestly don't remember... but definitely not a corrupted file !
Well that's odd, however, the file is clearly NOT ascii, it is UTF-8
USER A is opening it correctly as UTF8 and USER B is opening it as ANSI hence the UTF-8 code for é is shown.
Can you check HKEY_CURRENT_USER\Software \Microsoft \Notepad
and the shell open command
USER A is opening it correctly as UTF8 and USER B is opening it as ANSI hence the UTF-8 code for é is shown.
Can you check HKEY_CURRENT_USER\Software
and the shell open command
ASKER
Well that's odd, however, the file is clearly NOT ascii, it is UTF-8Ok - interesting !
USER A is opening it correctly as UTF8 and USER B is opening it as ANSI hence the UTF-8 code for é is shown.
Can you check HKEY_CURRENT_USER\SoftwareNot sure what you want me to do... In any case I do "file - open" from notepad in both cases...\Microsoft \Notepad
and the shell open command
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Right you are - I have indeed managed to garble the file somehow - my bad.