Re: [xml] How xmlXPathEvalExpression() eval CHINESE xpath expression?
- From: Daniel Veillard <veillard redhat com>
- To: canbaby <canbaby 21cn com>
- Cc: xml gnome org
- Subject: Re: [xml] How xmlXPathEvalExpression() eval CHINESE xpath expression?
- Date: Fri, 27 May 2005 05:20:50 -0400
On Fri, May 27, 2005 at 11:58:29AM +0800, canbaby wrote:
Hello:
help me, How could I use xmlXPathEvalExpression() to eval a xpath
that contain CHINESE?
I test it, but error message:
xpath error: encoding error
I thinks it's the problem encoding, but I'm a newbie, so want your help.
give some code better
All I can tell is that the string must be encoded in UTF-8, that's
probably the problem. Convert your query string to UTF-8.
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]