codepage translation of environment

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Mar 8 13:35:00 GMT 2005


On Mar  8 09:01, Heiko_Elger@arburg.com wrote:
> In codepage 1252 (latin1) character 0xe4 represents the umlaut a!!
> In codepage 850 character 0xa4 represents the umlaut a!!
> 
> Why do cygwin this conversion?

http://cygwin.com/acronyms/#WJM, I guess!

> I did some test using the CYGWIN environment variable with codepage:ansi and
> codepage:oem!
> But the characters are still converted - the codepage affects only the
> repesentation on screen but not the characters values!

Then you didn't test correctly!

In cmd.exe:

  > set ZZ=XaouY	<-- aou = umlaut-a umlaut-o umlaut-u!
  > bash
  $ echo $ZZ
  X",?Y
  $ exit
  > set CYGWIN=codepage:oem
  > bash
  $ echo $ZZ
  XaouY			<-- aou = umlaut-a umlaut-o umlaut-u!


!
Corinna

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list