Article View: borland.public.cppbuilder.internationalization
Article #717Re: Edit Box
From: SJC
Date: Fri, 31 Jan 2003 18:05
Date: Fri, 31 Jan 2003 18:05
76 lines
3397 bytes
3397 bytes
General comment that is probably obvious at this point. Borland Builder VCL does NOT support Unicode. That means ANY language that is rendered as Unicode with require the same steps being discussed here, not just Chinese. Too bad for all of us multilanguage developers. However, there is hope. There are many talented developers with toolkits and components to facilitate this process. Search the www for "internationalization". You may find what you need. Regards, Steve C. -- NoSpam@coldmail.com is bogus. Reach me at sjciric at localnet dot com "I don't like to lose.", James Tiberius Kirk "Yogesh Ketkar" <yogi@pspl.co.in> wrote in message news:3E3A00EE.4090102@pspl.co.in... > Hi, > That's not weird, applications like Notepad, Word etc. > do special handling for this. > Basically Windows need "unicode character string" ( or UCS2 > to be more precise) to render text in chinese, when you type > in normal edit box irrespective of your locale settings, > it tries to render text using AnsiString or single byte string. > So unless you do something special(may be derive a class from TEdit) > you are not going to get what you want. > Actually even i am looking for a straigtforward way by which > say chinese string can be rendered in TButton, TLabel, TEdit etc. > > regards, > yogesh > > > KC wrote: > > Hi, > > > > Yes I did. I also changed the font that supports chinese characters. The > > weird thing is that I am able to enter chinese character with notepad. But I > > can't with Builder editor. > > > > Regards, > > KC > > > > "Ciprian" <Ciprian.Lupu@fmc-romania.ro> wrote in message > > news:3e38fc1c$1@newsgroups.borland.com... > > > >>"KC" <pine73@icqmail.com> wrote in message > >>news:3e38e687@newsgroups.borland.com... > >> > >>>I am doing application localization from English to Chinese. I am using > >>>Windows 2000 and C++ Builder 6.0. I changed the locale to Chinese > >> > > (Taiwan) > > > >>>and run the application. I tried to enter a chinese characters into an > >> > >>edit > >> > >>>box but I got "rubish". What needed to be done here ? > >>> > >>>Thanks. > >>> > >>> > >> > >>Did You put Regional Settings AND Imput Locales on Chinese (Taiwan)? > >> > >>Ciprian > >> > >> > >> > > > > > > >
Technical Details
Message-ID:
<3e3abace$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-lond.gip.net!news.gsl.net!gip.net!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3e38e687@newsgroups.borland.com> <3e38fc1c$1@newsgroups.borland.com> <3e39fc29@newsgroups.borland.com> <3E3A00EE.4090102@pspl.co.in>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10297d,8160627fcd9505d8 X-Google-Attributes: gid10297d,public X-Google-ArrivalTime: 2003-01-31 10:10:28 PST From: "SJC" <NoSpam@coldmail.com> Newsgroups: borland.public.cppbuilder.internationalization References: <3e38e687@newsgroups.borland.com> <3e38fc1c$1@newsgroups.borland.com> <3e39fc29@newsgroups.borland.com> <3E3A00EE.4090102@pspl.co.in> Subject: Re: Edit Box Date: Fri, 31 Jan 2003 13:05:04 -0500 Lines: 78 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 24.97.119.18 Message-ID: <3e3abace$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1044036302 24.97.119.18 (31 Jan 2003 10:05:02 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-lond.gip.net!news.gsl.net!gip.net!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail