Re: [xml] Problems with file names in UTF-8 on Windows
- From: Roland Schwingel <Roland Schwingel onevision com>
- To: xml gnome org
- Subject: Re: [xml] Problems with file names in UTF-8 on Windows
- Date: Wed, 30 Aug 2006 14:09:11 +0200
Hi...
Daniel Veillard <veillard redhat com> wrote
on 21.08.2006 10:30:06:
> On Mon, Aug 21, 2006 at 10:18:26AM +0200, Roland Schwingel wrote:
> > At present I am damned overloaded. I will come back to your messages
> > ASAP...
>
> Thanks, hopefully within a couple of weeks because pushing
a new libxml2
> version out would make sense around the end of the month.
Here is the reworked patch...
What has changed. It operates now in "paranoid"
mode...
1) Handling of msvcrt moved (as requested by Daniel)
to an own static function
which is additionally secured against
threadingproblems with a mutex.
2) There is an additional check against the Operating
system version to
force win9x to use ascii mode.
3) Added the MB_ERR_INVALID_CHARS to MultiByteToWideChar()
calls,
even IMHO not needed, because if it would
produce incorrect wchars
a subsequent call operating on that result
would fail anyway, forcing
windows path to fallback to ascii mode.
The patch is again made against vanilla libxml2 2.6.26
Hope I could help with this now,
Roland
Attachment:
xmlIO.c.patch2
Description: Binary data
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]