public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Accented characters and cygwin
@ 1999-06-24  5:53 Peter Meszaros
  1999-06-30 22:10 ` Peter Meszaros
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Meszaros @ 1999-06-24  5:53 UTC (permalink / raw)
  To: 'cygwin@sourceware.cygnus.com'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1404 bytes --]

Hi All,

I have some problem with command line parameters containing accented characters in cygwin environment.

In the bash the codepage 1250 is set by "chcp.com 1250" command.

The following text contains accented characters but remains readable for you...

bash-2.02$ echo öüóoúéáuíÖÜÓOÚÉÁUÍ | xxd
0000000: f6fc f3f5 fae9 e1fb edd6 dcd3 d5da c9c1  ................
0000010: dbcd 0a                                  ...
bash-2.02$ ./xx öüóoúéáuíÖÜÓOÚÉÁUÍ | xxd
0000000: 3ef6 fcf3 f5fa e9e1 fbed d62d d3d5 2d2d  >..........-..--
0000010: 2b2d 3d3c 0a                             +-=<.

The source of the xx.c
--------------------------------------------------------------------------
#include <stdio.h>

main(int argc, char *argv[]) {
  printf(">%s<\n", argv[1]);
}
--------------------------------------------------------------------------
Compiled: gcc -g xx.c -o xx

The question is 'who' converts the characters?
The same things happen when I'm debugging and using 'set args'.
The conversion is different but done on both Hungarian and English WINNT and in an MSDOS window (no bash).

I didn't subscribe cygwin mailing list so if there is any advice sent it to mailto:pmeszaros@effice.hu 

Thanks in advance

Peter


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Accented characters and cygwin
  1999-06-24  5:53 Accented characters and cygwin Peter Meszaros
@ 1999-06-30 22:10 ` Peter Meszaros
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Meszaros @ 1999-06-30 22:10 UTC (permalink / raw)
  To: 'cygwin@sourceware.cygnus.com'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1404 bytes --]

Hi All,

I have some problem with command line parameters containing accented characters in cygwin environment.

In the bash the codepage 1250 is set by "chcp.com 1250" command.

The following text contains accented characters but remains readable for you...

bash-2.02$ echo öüóoúéáuíÖÜÓOÚÉÁUÍ | xxd
0000000: f6fc f3f5 fae9 e1fb edd6 dcd3 d5da c9c1  ................
0000010: dbcd 0a                                  ...
bash-2.02$ ./xx öüóoúéáuíÖÜÓOÚÉÁUÍ | xxd
0000000: 3ef6 fcf3 f5fa e9e1 fbed d62d d3d5 2d2d  >..........-..--
0000010: 2b2d 3d3c 0a                             +-=<.

The source of the xx.c
--------------------------------------------------------------------------
#include <stdio.h>

main(int argc, char *argv[]) {
  printf(">%s<\n", argv[1]);
}
--------------------------------------------------------------------------
Compiled: gcc -g xx.c -o xx

The question is 'who' converts the characters?
The same things happen when I'm debugging and using 'set args'.
The conversion is different but done on both Hungarian and English WINNT and in an MSDOS window (no bash).

I didn't subscribe cygwin mailing list so if there is any advice sent it to mailto:pmeszaros@effice.hu 

Thanks in advance

Peter


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-06-30 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-24  5:53 Accented characters and cygwin Peter Meszaros
1999-06-30 22:10 ` Peter Meszaros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).