🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #146

Re: Multiple character set applications

#146
From: Piotr Trzcionkowski
Date: Mon, 02 Feb 1998 00:00
25 lines
1877 bytes
Wed, 28 Jan 1998 16:56:05 GMT, loudest@ibm.net (Louis de Stoutz)
napisa�(a):

>Hi everybody!
>
>I have to write applications where users can enter data as well in
>latin letters as in greek letters. In the Windows environment and
>especially for applications like Word or Excel, this works easily by
>switching keyboard with either Alt-Shift or through the taskbar.
>
>How do I make this work
>a) in the IDE for writing on my forms
>b) in the applications, so that the user can switch himself when
>entering data
>
>I tried to use different character sets in the Font property (e.g.
>OEM_CHARSET, hoping it would be taken over from Windows) but it
>doesn't work. Of course I can specify the greek character set, but
>then, what about english. I suppose I don't have to actually program a
>switch of charsets in the application?

You should use Unicode API -> all functions are ended with "W" for
example TextOutW('$0501') to display polish "�" without any switching.
You must know not all functions works in Win95 otherwise in nt.
Technical Details
Message-ID: <34da830b.306888130@zeus.polsl.gliwice.pl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34d15e8d.154690888@news-s01.ny.us.ibm.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10baee,fab84281a69d0715
X-Google-Attributes: gid10baee,public
X-Google-Thread: 10545b,fab84281a69d0715
X-Google-Attributes: gid10545b,public
X-Google-Thread: ff75c,fab84281a69d0715
X-Google-Attributes: gidff75c,public
From: ChangeTo_trzcionk@us.edu.pl (Piotr Trzcionkowski)
Subject: Re: Multiple character set applications
Date: 1998/02/02
Message-ID: <34da830b.306888130@zeus.polsl.gliwice.pl>
X-Deja-AN: 321422814
Content-Transfer-Encoding: 8bit
References: <34d15e8d.154690888@news-s01.ny.us.ibm.net>
Content-Type: text/plain; charset=ISO-8859-2
Organization: Silesian University
Mime-Version: 1.0
Reply-To: ChangeTo_trzcionk@us.edu.pl
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.ide,borland.public.delphi.database.desktop