Re: [xml] XMLChar to char conversion

On Thu, May 06, 2004 at 07:25:31PM +0530, Subhabrata Bhattacharya wrote:
Is there a way so that I can convert a UNICODE encoded XMLChar string into an ASCII char* string so that it 
can be used by standard functions like atoi() that take char * as arg.

  In general no. You cannot map back UNICODE to ASCII. But your question
is wrong. I strongly suggest you read the definition for UTF8
and the page on encoding


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]