Avatar of Alexandre Takacs
Alexandre TakacsFlag for Switzerland

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:

User generated imageI 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...
Windows Server 2012Windows OS

Avatar of undefined
Last Comment
Alexandre Takacs
Avatar of Muhammad Burhan
Muhammad Burhan
Flag of Pakistan image

if you configured shadow copies, try to retrieve any previous version of that file from there for troubleshooting.
Avatar of Alexandre Takacs

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 !
Avatar of Gauthier
Gauthier

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
Avatar of Alexandre Takacs

ASKER

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.
Ok - interesting !

Can you check HKEY_CURRENT_USER\Software\Microsoft\Notepad
and the shell open command
Not sure what you want me to do... In any case I do "file - open" from notepad in both cases...
ASKER CERTIFIED SOLUTION
Avatar of Gauthier
Gauthier

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Alexandre Takacs

ASKER

well if I do file / open I get these options (from notepad)
User generated imagein all 4 cases the file doesn't show up correctly....
SOLUTION
Avatar of Gauthier
Gauthier

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Alexandre Takacs

ASKER

Right you are - I have indeed managed to garble the file somehow - my bad.
Windows OS
Windows OS

This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.

129K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo