Hi,

Is there any code in the OpenOffice.org source code to convert
LocaleId (LCID) into language id (codepage)?

The relation between them seems available at [1].

VBA's StrConv() method [2] takes LocaleID as a third parameter
while OpenOffice.org's internal string encoding conversion
methods take language type [3]. So, I was wondering if we had
already implemented such a translation function.

Is there any idea to implement the StrConv() macro function which
can work on not only Window but also other operating systems?

[1] National Language Support (NLS) API Reference
    http://www.microsoft.com/resources/msdn/goglobal/default.mspx

[2] StrConv Method
    
http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.strings.strconv.aspx

[3] rtl_TextEncoding
    http://svn.services.openoffice.org/ooo/trunk/sal/inc/rtl/textenc.h

[4] Differences in String Function Operations
    http://msdn.microsoft.com/en-us/library/aa157061(office.10).aspx

[5] OpenOffice.org 3.0 implementation of StrConv(), which can not
    handle the third parameter, though.
    http://qa.openoffice.org/issues/show_bug.cgi?id=85036

Regards,
Tora

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to