Re: [xml] xmlParseFile and upper ASCII

On Fri, Feb 24, 2006 at 10:17:40AM -0800, David Alter wrote:
I have inherited a project that uses the xmlParseFile to read in the  
XML file to be parsed. Now I have situations where the file path has  
upper ASCII chars. Things like accented a, etc...  What do I need to  
do to read these file paths. I can easily convert it to UTF8 or URL  
encode it. I'm just not clear what it is I need to do.

  if (open("your_crazy_path",...) works then just pass the file name.
To me a path is just a zero terminated sequence of bytes.


Daniel Veillard      | Red Hat
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]