Re: [xml] XMLChar to char conversion
- From: Daniel Veillard <veillard redhat com>
- To: Subhabrata Bhattacharya <Subhabrata_B infosys com>
- Cc: xml gnome org
- Subject: Re: [xml] XMLChar to char conversion
- Date: Fri, 7 May 2004 12:13:25 -0400
On Thu, May 06, 2004 at 07:25:31PM +0530, Subhabrata Bhattacharya wrote:
Hi,
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
http://www.ietf.org/rfc/rfc3629.txt
and the page on encoding
http://xmlsoft.org/encoding.html
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]