🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Unicode char-s on control

#195
From: Alan Bellingham
Date: Wed, 27 Sep 2006 17:50
23 lines
1731 bytes
"Tumurbaatar S." <spam_tumur@magicnet.mn> wrote:

>I'm trying to write my first international app in BCB6.
>It seems there's no way to display Unicode char-s that
>do not belong to any charset/code page (like Windows-1251 and etc).
>The Text and Caption properties accept only AnsiString string, so
>Unicode char-s are not allowed.

As far as I am aware, VCL doesn't support Unicode. Which is another
strike against it, in my opinion.

>Yes?
>
>P.S. VS.NET can display Unicode text on its controls. Is it a .NET
>feature? 

No, so long as you can get the window handle (which is achievable in
VCL, if I remember correctly), you just use SetWindowTextW() rather than
SetWindowTextA().

Alan Bellingham
-- 
ACCU Conference: 11-14 April 2007 - Paramount Oxford Hotel
Technical Details
Message-ID: <ccelh2dgo023jao3pdluf9mdtsdhc8lmqe@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <451aac8f@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,c35059606ebe258
X-Google-Attributes: gid10297d,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alan@lspace.org>
Newsgroups: borland.public.cppbuilder.internationalization
Subject: Re: Unicode char-s on control
Date: Wed, 27 Sep 2006 18:50:42 +0100
Organization: Private
Reply-To: alan@lspace.org
Message-ID: <ccelh2dgo023jao3pdluf9mdtsdhc8lmqe@4ax.com>
References: <451aac8f@newsgroups.borland.com>
X-Newsreader: Forte Agent 4.0/32.1071
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.253
X-Trace: newsgroups.borland.com 1159379442 193.129.251.253 (27 Sep 2006 10:50:42 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail