Article View: borland.public.cppbuilder.internationalization
Article #288Re: Azeri Fonts Trouble
From: Gurhan Cogumlu
Date: Mon, 22 Nov 2004 14:55
Date: Mon, 22 Nov 2004 14:55
53 lines
3505 bytes
3505 bytes
Dear M.Cope, Thanks for helping me. I have changed the local settings to Azerbaijan and I can display the special characters on the text editors like notepad. But I need information about how to change editor fonts of Borland C++ Builder's. I have found a few fonts already loaded for this editor in the Editor Options at the Tools menu. But they aren't include my special characters. What must I do at this point? Thanks & Regards, Gurhan "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>, haber iletisinde sunlari yazdi:41a1ae40$1@newsgroups.borland.com... > Gurhan Cogumlu wrote: > > > Hello M.Cope, > > I want to use a character like invers e (?) from Azeri Latin Fonts. I > > have changed my computer's keyboard settings to Azeri (Latin) and > > this character seems like question mark (?). > > Okay I thought as much and my original reply probably holds true. You > need to configure your machine's locale to Azerbaijan. The problem is > that the VCL (in common with a lot of Windows programs) uses 8-bit > characters and that means 256 possible characters. > > That is nowhere near enough for all the languages of the world so they > have been divided into codepages. Each codepage contains a subset of > characters that should be adequate in most cases for a particular part > of the world. > > Changing your keyboard settings was a good first step but you also need > to change the locale. That tells Windows which codepage to use. To do > this go to Control Panel\Regional Options and select the country or > region. Unfortunately Azerbaijan isn't on my list so I don't know what > you'd choose. > > It's worth pointing out that this is an exclusive option. If you make > this change it may interfere with your computers ability to display the > Roman alphabet. If you are adding support for this font so that users > of that language can feel more comfortable that's fine but if you are > adding support so anyone else can use it (ie;an American or Briton) > then this solution won't work because it might interfere with their > normal use of the computer. > > The only way to avoid having to change the locale is use Unicode and > that means rendering strings yourself using TextOutW(). There is a > component package that can provide Unicode support for the VCL called > 'ElPack'. If you Google for it you should find some references. > > -- > Andrue Cope [TeamB] > [Bicester, Uk] > http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<41a1fe00@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<419c8912@newsgroups.borland.com> <419c8cdf$2@newsgroups.borland.com> <41a19b32@newsgroups.borland.com> <41a1ae40$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,46e2b5c45df5a730 X-Google-Attributes: gid10297d,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Gurhan Cogumlu" <tayyarraye@hotmail.com> From: "Gurhan Cogumlu" <tayyarraye@hotmail.com> Newsgroups: borland.public.cppbuilder.internationalization References: <419c8912@newsgroups.borland.com> <419c8cdf$2@newsgroups.borland.com> <41a19b32@newsgroups.borland.com> <41a1ae40$1@newsgroups.borland.com> Subject: Re: Azeri Fonts Trouble Date: Mon, 22 Nov 2004 16:55:48 +0200 Lines: 55 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: 212.174.58.67 Message-ID: <41a1fe00@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1101135360 212.174.58.67 (22 Nov 2004 06:56:00 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail