[ros-bugs] [Bug 2076] cmd.exe - codepage conversion

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sun Oct 16 01:29:01 UTC 2011


http://www.reactos.org/bugzilla/show_bug.cgi?id=2076





--- Comment #5 from Shinobu Maehara <congruwer at yahoo.co.uk>  2011-10-16 01:29:00 CET ---
I think the problem still persists in 54146.
For the following simple testcase, make sure the bit after echo looks like 
<<1/4 1/2 3/4>>

@echo off
chcp 1252
echo «¼½¾»
chcp 437
echo «¼½¾»
chcp 850
echo «¼½¾»
pause

Paste in Notepad, save in cp 1252.
Output in Windows (provided you use the Lucida Console font):

Active codepage: 1252
«¼½¾»
Active codepage: 437
½╝╜╛╗
Active codepage: 850
½╝¢¥╗

I have verified that this is correct.

Output in ReactOS (variable actually, but most commonly):

½+¢¥¬
½╝¢¥╗
½╝¢¥╗

I have mixed feelings about the Active codepage: nnn messages. I suspact that 
most batch files will do something like chcp 1252>nul so the point will be
moot.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Ros-bugs mailing list