----- Wiadomosc oryginalna ----- Od: "Agrawal, Vikas (ELS)" <[EMAIL PROTECTED]> Do: <[EMAIL PROTECTED]> Wyslano: 18 wrzesnia 2003 13:02 Temat: RE: How to convert XMLCh* to char*
Is there anyway to change the current code page? How shall I find what is the current code page? --------------------------------- It depends upon OS you are working on, read OS API reference. For example, if you are working on Win2k/2003/NT/XP you should look at the API func GetThreadLocale(), SetThreadLocale() (there may be more specific functions to achieve this, but I know that these work just fine for me). I haven't looked at Xerces source code, but I assume that Windows edition uses WideCharToMultiByte API function to perform transcoding (am I right?). This function depends upon thread locale so SetThreadLocale() should work fine. Greetings Marcin Rzeznicki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
