Is there anyway to change the current code page? How shall I find what is the current code page?
-----Original Message----- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: 18 September 2003 11:17 To: [EMAIL PROTECTED] Subject: Re: How to convert XMLCh* to char* Hi, You cannot convert a character that is not represented in the range described by your current code page to your current code page. Unicode has a vast amount of possible characters, your current code page probably does not. Gareth On Thu, 18 Sep 2003, Agrawal, Vikas (ELS) wrote: > Hi All, > > I want to convert XMLCh* to char* > I am using XMLString::transcode to do that. > > EsXMLCh& EsXMLCh::operator=(const XMLCh* const cstr) > { > destroy(); > > created = true; > //gTranscoder->transcode(); > str = XMLString::transcode(cstr); > > return *this; > } > > But unfortunately it is not converting XMLCh* to char* properly when XMLCh* > consists unicode characters as well e.g. "emt production, 4 μM silver > nitrate". Could anybody help me how to do that. > > Thanks & Regards > Vikas Agrawal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- Gareth Reakes, Head of Product Development +44-1865-203192 DecisionSoft Limited http://www.decisionsoft.com XML Development and Services --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
