Article View: borland.public.cppbuilder.internationalization
Article #222Re: Internationalisation of app for Japanese
From: Goran
Date: Fri, 01 Apr 2005 11:04
Date: Fri, 01 Apr 2005 11:04
69 lines
3285 bytes
3285 bytes
Peter, thank you very much for you response and advice. I saw your response yesterday very late, I almost gave up waiting for any response on my problem :-) I have tried it in my test application and the problem is gone as well. Now, I have to do it in my real application... Thanks again! Best regards, Goran. "Peter Van Hove" <Will_Bounce_So_Use_My_First_Name@Smart-Projects.net> wrote: >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:
<424d2ad2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41fe7a10$1@newsgroups.borland.com> <423ee522@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 From: "Goran" <gskoric@pfe.co.uk> Sender: "Goran" <gskoric@pfe.co.uk> Reply-To: "Goran" <gskoric@pfe.co.uk> Subject: Re: Internationalisation of app for Japanese Newsgroups: borland.public.cppbuilder.internationalization X-User-Info: 195.217.226.113 References: <41fe7a10$1@newsgroups.borland.com> <423ee522@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <424d2ad2$1@newsgroups.borland.com> Date: 1 Apr 2005 03:04:50 -0800 X-Trace: newsgroups.borland.com 1112353490 207.105.83.66 (1 Apr 2005 03:04:50 -0800) Lines: 70 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail