Article View: borland.public.cppbuilder.internationalization
Article #215Re: Internationalisation of app for Japanese
From: Peter Van Hove
Date: Mon, 21 Mar 2005 15:15
Date: Mon, 21 Mar 2005 15:15
51 lines
3002 bytes
3002 bytes
I had some issues with Japanese as well until I found out that if I set the "Charset" member of "Font" of every object that has a "Font" member to : 128 // SHIFTJIS_CHARSET The problem is gone ! For no other language this was needed (Arabian, Chinese, Russian, ...) but for Japanese setting the Charset to 128 was imperative for everything to work correctly with the default font (maybe for (some) other fonts it's not needed ?) Best Regards, Peter ------------------------------------------------------- Peter Van Hove CD and DVD Data recovery Peter@Smart-Projects.net www.Smart-Projects.net www.IsoBuster.com ------------------------------------------------------- "Goran" <gskoric@pfe.co.uk> wrote in message news:41fe7a10$1@newsgroups.borland.com... > > Hi, > > I have a problem of porting Cbuilder5/6 application (under Windows XP) for > Japanese language. > > I have already ported the same app to Chinese language and so far I > haven't notice any problem. When I replace ChineseTranslation text file > (from where I load appropriate strings, which are typed and saved using > Chinese PRC code page) with Japanese one (using Japanese code page) I > don't have Japanese characters mostly, but somewhere I have it. After a > little bit of research it came that > > TListBox, TButton and TStatic controls display text properly > > TPanel, TMemo, TEdit, TLabel, TSpeedButton, TBitBtn controls doesn't > display chars properly (display is array of single byte chars instead of > proper double-byte chars using Japanese code page) > > > I have setup the appropriate language in Regional & Language Settings, in > that list box which refers how windows will handle non-Unicode chars > (Chinese PRC, Japanese) > > Can anyone give me advice please how to solve that problem within CBuilder > enviroment if possible (not using third party components)? > > Thanks, > Goran. >
Technical Details
Message-ID:
<423ee522@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<41fe7a10$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,ade5be54c48c0fe6 X-Google-Attributes: gid10297d,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Peter Van Hove" <Will_Bounce_So_Use_My_First_Name@Smart-Projects.net> From: "Peter Van Hove" <Will_Bounce_So_Use_My_First_Name@Smart-Projects.net> Newsgroups: borland.public.cppbuilder.internationalization References: <41fe7a10$1@newsgroups.borland.com> Subject: Re: Internationalisation of app for Japanese Date: Mon, 21 Mar 2005 16:15:46 +0100 Lines: 53 Organization: Smart Projects X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 213.118.45.132 Message-ID: <423ee522@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1111418146 213.118.45.132 (21 Mar 2005 07:15:46 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail