Article View: borland.public.cppbuilder.internationalization
Article #213Re: txt Unicode
From: Peter Van Hove
Date: Mon, 21 Mar 2005 12:38
Date: Mon, 21 Mar 2005 12:38
24 lines
1871 bytes
1871 bytes
I started a discussion on the VCL limitations wrt unicode here : newsgroups.borland.com borland.public.cppbuilder.non-technical Subject : "unicode based standard VCL" You might want to scan through that. > O.S. WinXp > ... > lblDummy->Font->Name="Arial Unicode MS"; > lblDummy->Caption=title; > No problem with europen characters but chines="???" This is because VCL is MBCS based and so uses the system code page to make sense from the MBCS string. when the code page is not the code page that corresponds with MBCS string then the result is nonsense. Try this in Windows XP : Start / Settings / Control Panel / Date, Time, Language and Regional Options / Regional and Language Options / (Third tab) Advanced In the drop down, select "Chinese" Apply Reboot the system like requested Does it work now ?
Technical Details
Message-ID:
<423ec04f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.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:
<423eac7e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,f5ae0115cc435b60 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: <423eac7e@newsgroups.borland.com> Subject: Re: txt Unicode Date: Mon, 21 Mar 2005 13:38:40 +0100 Lines: 27 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: <423ec04f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1111408719 213.118.45.132 (21 Mar 2005 04:38:39 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.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