Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <01BEBE50.F7B61900@red> From: Peter Meszaros To: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: Accented characters and cygwin Date: Thu, 24 Jun 1999 14:50:53 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-2" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id IAA06823 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 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 AT effice DOT hu Thanks in advance Peter -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com