Re: [xml] How xmlXPathEvalExpression() eval CHINESE xpath expression?

On Fri, May 27, 2005 at 11:58:29AM +0800, canbaby wrote:
   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 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]