Article View: borland.public.cppbuilder.internationalization
Article #211txt Unicode
From: simone
Date: Mon, 21 Mar 2005 11:14
Date: Mon, 21 Mar 2005 11:14
33 lines
1596 bytes
1596 bytes
Hi, this is the first time I work with Unicode and I have some problems. O.S. WinXp I'm workin with unicod .txt file(european and chines characters) loaded with WideString I have installed severals languages like Chinese. I want assign text to a Label->Caption property I tryed: WideString title; ... lblDummy->Font->Name="Arial Unicode MS"; lblDummy->Caption=title; No problem with europen characters but chines="???" also: --- SetWindowTextW (lblDummy->Handle,title); No problem with europen characters but chines="???" also: ... TextOutW(lblDummy->Canvas->Handle,0,0,tile,title.Length()); this work fine but needs to be hook to form refresh event I'd like using standard assignment lblDummy->Caption What I have to do? thanks, Simone
Technical Details
Message-ID:
<423eac7e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10297d,f5ae0115cc435b60,start X-Google-Attributes: gid10297d,public X-Google-Language: ENGLISH,ASCII-7-bit From: "simone" <info@microstudio.net> Newsgroups: borland.public.cppbuilder.internationalization Subject: txt Unicode Date: Mon, 21 Mar 2005 12:14:07 +0100 Lines: 35 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: 84.222.11.156 Message-ID: <423eac7e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1111403646 84.222.11.156 (21 Mar 2005 03:14:06 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail