From: Ross R. <rr...@cs...> - 2006-07-21 20:15:49
|
Lloyd Dupont writes: >I'm trying to use > xmlParseFile( utf8filename ) >using japaneese character in my file name I don't see why you're complaining about this on the MinGW mailing list, or why you expect xmlParseFile() to accept a UTF-8 filename. Windows doesn't use UTF-8 for filenames, it either uses UTF-16 if you're using the wide character APIs or the native "ANSI" character set if you're using the narrow ANSI character APIs. Since xmlParseFile() is only documented as taking "const char *" argument that would suggest that you need to use the ANSI encoding of the machine you're using. If you're using a Japanese version of Windows that encoding would be Shift-JIS. Ross Ridge |