Re: [xml] xmlXpathEval and iso8859-1 encoding



Fco . Mario Barcala Rodríguez <barcala dc fi udc es> writes:

I have some problems with xmlXpathEval about iso-8859-1 encoding:

1) As i have said, i work with iso-8859-1 encoding. How can i ask about an
attribute value with "special" characters? I mean, when i ask
tag1/tag2/tag3[ attribute='value'], it works well if there isn't characters
like á, é, etc, but with these characters it does return nothing.

2) If i use these characters in tag and attribute names, xmlXPathEval prints
"xmlXPathEval:evaluation failed", pointing to these characters as errors.

converting your queries to utf8 should help.

-- Petr



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