Re: Windows codepages

From: Michael \(michka\) Kaplan (michka@trigeminal.com)
Date: Thu Aug 10 2000 - 17:55:36 EDT


Yes, there is a way to extract this info using GetLocaleInfo. Pass the LCID
or langid with one of the following params:

LOCALE_IDEFAULTANSICODEPAGE
LOCALE_IDEFAULTCODEPAGE
LOCALE_IDEFAULTEBCDICCODEPAGE (win2k only)
LOCALE_IDEFAULTMACCODEPAGE

michka

Michael Kaplan
Trigeminal Software, Inc.
http://www.trigeminal.com/

----- Original Message -----
From: <Peter_Constable@sil.org>
To: "Unicode List" <unicode@unicode.org>
Sent: Thursday, August 10, 2000 2:36 PM
Subject: Windows codepages

> Anybody happen to know: Is there no Win32 API that takes a LANGID and
> returns a codepage? Or, alternately, that takes a charset value and
returns
> a codepage? (I.e. takes one of the two parameters provided by
> WM_INPUTLANGCHANGE.)
>
>
>
> - Peter
>
>
> --------------------------------------------------------------------------
-
> Peter Constable
>
> Non-Roman Script Initiative, SIL International
> 7500 W. Camp Wisdom Rd., Dallas, TX 75236, USA
> Tel: +1 972 708 7485
> E-mail: <peter_constable@sil.org>
>
>
>



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:06 EDT