Re: [xml] Build DOM tree manually from ASCII file and getting data into xmlChar
- From: Hannu Krosing <hannu tm ee>
- To: veillard redhat com
- Cc: Steve Williams <swilliams rinax com>, xml gnome org
- Subject: Re: [xml] Build DOM tree manually from ASCII file and getting data into xmlChar
- Date: 01 Aug 2002 20:53:47 +0200
On Thu, 2002-08-01 at 10:49, Daniel Veillard wrote:
French characters (well accented ones for example) are not in ASCII
but probably in ISO Latin 1, use the following function to convert them
before passing the strings to the API:
int
isolat1ToUTF8(unsigned char* out, int *outlen,
const unsigned char* in, int *inlen) {
Why is it "unsigned char* out" and not "xmlChar* out" ?
Or are they actually made the same by some macro ?
---------------
Hannu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]