From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,43ab55a75a8b5d1 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news1.google.com!news.germany.com!multikabel.net!feed20.multikabel.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer1.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Persson?= User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: System.WCh_Cnv References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <0Cbtg.8749$E02.2599@newsb.telia.net> Date: Wed, 12 Jul 2006 18:57:00 GMT NNTP-Posting-Host: 83.250.106.238 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1152730620 83.250.106.238 (Wed, 12 Jul 2006 20:57:00 CEST) NNTP-Posting-Date: Wed, 12 Jul 2006 20:57:00 CEST Organization: Telia Internet Xref: g2news2.google.com comp.lang.ada:5648 Date: 2006-07-12T18:57:00+00:00 List-Id: Y.Tomino wrote: > Ada of gcc-4.1, Why UTF-32 routines of System.WCh_Cnv handle JIS > character code when WCEM_Shift_JIS or WCEM_EUC ? Other options seem to > mean Unicode. If you happen to be using some Unix-like operating system which is Posix-conformant enough to have the Iconv library, then you might want to use the EAstrings packages in AdaCL (http://adacl.sourceforge.net/). EAstrings converts automatically between all the encodings your Iconv library knows. Otherwise, there is System.WCh_JIS, which is supposed to handle EUC and Shift-JIS. Have you tried that? (I still need to get EAstrings working in Windows. I could really use some help from a Windows programmer.) -- Bj�rn Persson PGP key A88682FD omb jor ers @sv ge. r o.b n.p son eri nu