🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: BSTR type and Tlabel

#67
From: Andrue Cope [TeamB]
Date: Wed, 17 Aug 2005 14:42
24 lines
1883 bytes
fmarka wrote:

> What string conversions do i need to do and what charset set for
> Label to see Russian or Lithuanian letters ( i have support of these
> languages installed on OS )?

You will need to change the Charset property to Cyrillic. Having
Cyrillic available just means that the charset for it should be
available on at least some of the fonts you have installed. It's still
up to you to select that charset. Unfortunately the Charset number is
not the same as the codepage number so you need code to convert them.

One would have thought that the OS provided a means to do that but it
appears that no-one here has ever found it. Possibly for lack of
looking though. Our conversion code is quite old and since it works we
ignore it :)

If the font you are actually using to render doesn't have it then
Windows will pick a close match that does.

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <43034cb2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4303472a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,a1b7fdc400ec1ab2
X-Google-Attributes: gid10297d,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: BSTR type and Tlabel
Newsgroups: borland.public.cppbuilder.internationalization
References: <4303472a@newsgroups.borland.com>
Date: Wed, 17 Aug 2005 15:42:03 +0100
User-Agent: XanaNews/1.17.5.9
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
NNTP-Posting-Host: 217.207.223.34
Message-ID: <43034cb2$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124289714 217.207.223.34 (17 Aug 2005 07:41:54 -0700)
Lines: 24
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail