🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internationalization
Article #130

Internationalisation of app for Japanese

#130
From: Goran
Date: Mon, 31 Jan 2005 18:33
18 lines
1907 bytes
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: <41fe7a10$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,ade5be54c48c0fe6,start
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: Internationalisation of app for Japanese
Newsgroups: borland.public.cppbuilder.internationalization
X-User-Info: 195.217.226.113     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41fe7a10$1@newsgroups.borland.com>
Date: 31 Jan 2005 10:33:52 -0800
X-Trace: newsgroups.borland.com 1107196432 207.105.83.66 (31 Jan 2005 10:33:52 -0800)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail