X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 20 Mar 2009 12:50:09 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: What is your default ANSI codepage? Message-ID: <20090320115009.GI9322@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-02-20) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, here's a question which is quite important for me to know. What is your default ANSI codepage? Windows supports a lot of these codepages, but some of them are only used in rare cases and not as default ANSI codepage. Right now, what Cygwin can support as codepages are: 737: IBM737, OEM Greek 775: IBM775, OEM Baltic 932: Shift JIS 1125: IBM1125, OEM Ukraine 1250: ANSI Central Europe 1251: ANSI Cyrillic 1252: ANSI Latin 1 1253: ANSI Greek 1254: ANSI Turkish 1255: ANSI Hebrew (no right-to-left) 1256: ANSI Arabic (no right-to-left) 1257: ANSI Baltic 1258: ANSI Vietnamese 28591: ISO-8859-1 Latin 1 28592: ISO-8859-2 Central Europe 28593: ISO-8859-3 Latin 3 28594: ISO-8859-4 Baltic 28595: ISO-8859-5 Cyrillic 28596: ISO-8859-6 Arabic (no right-to-left) 28597: ISO-8859-7 Greek 28598: ISO-8859-8 Hebrew (no right-to-left) 28599: ISO-8859-9 Turkish 28603: ISO-8859-13 Estonian 28605: ISO-8859-15 Latin 9 50220: ISO-2022-jp, JIS 50221: ISO-2022-jp, JIS 50222: ISO-2022-jp, JIS 51932: EUC Japanese 65001: UTF-8 Is anybody here using a Windows system with another ANSI codepage as default? Please note that I'm *not* asking for the OEM codepages used in console Windows, rather I'm asking for your ANSI codepage. If you don't know how to find out, just store the the following code as foo.c === SNIP === #include int main() { printf ("ANSI codepage: %u\n", GetACP ()); return 0; } === SNAP === And build it with gcc, like this: $ gcc -o foo foo.c $ ./foo ANSI codepage: 1252 If your codepage is NOT in the above list, please speak up. I can't promise that we can support other doublebyte charsets any time soon, but singlebyte charsets will be no big problem. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/