SourceForge.net
2012-04-03 14:20:43 UTC
Bugs item #3514595, was opened at 2012-04-03 07:20
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3514595&group_id=10127
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: "Unknown encoding error" with "iso-8859-15"
Initial Comment:
hello,
I have 2 files which looks similar except for the encoding. One (OK) is "iso-8859-1", the other (KO) is "iso-8859-15".
I have tried EXPAT from version 2.0 to 2.1 and both generates an error when parsing the "iso-8859-15" file.
Can you please explain if this is a bug or not and if not why??
I have downloaded expat from this link
http://sourceforge.net/projects/expat/files/expat_win32/2.1.0/expat-win32bin-2.1.0.exe/download
and
http://sourceforge.net/projects/expat/files/expat_win32/2.0.0/expat_win32bin_2_0_0.exe/download
and this is my result
C:\Expat-2.1.0\Bin>dir
Volume in drive C has no label.
Volume Serial Number is 455A-51B9
Directory of C:\Expat-2.1.0\Bin
03/04/2012 16:01 <DIR> .
03/04/2012 16:01 <DIR> ..
03/04/2012 14:35 5.176 FILE_KO.xml
03/04/2012 14:35 1.419 FILE_OK.xml
24/03/2012 15:32 131.584 libexpat.dll
24/03/2012 15:32 17.234 libexpat.lib
24/03/2012 15:32 498.530 libexpatMT.lib
24/03/2012 15:32 134.656 libexpatw.dll
24/03/2012 15:32 17.316 libexpatw.lib
24/03/2012 15:32 515.268 libexpatwMT.lib
24/03/2012 15:32 70.144 xmlwf.exe
9 File(s) 1.391.327 bytes
2 Dir(s) 43.431.870.464 bytes free
C:\Expat-2.1.0\Bin>xmlwf.exe FILE_KO.xml
FILE_KO.xml:1:30: unknown encoding
C:\Expat-2.1.0\Bin>xmlwf.exe FILE_OK.xml
C:\Expat-2.1.0\Bin>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3514595&group_id=10127
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3514595&group_id=10127
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: "Unknown encoding error" with "iso-8859-15"
Initial Comment:
hello,
I have 2 files which looks similar except for the encoding. One (OK) is "iso-8859-1", the other (KO) is "iso-8859-15".
I have tried EXPAT from version 2.0 to 2.1 and both generates an error when parsing the "iso-8859-15" file.
Can you please explain if this is a bug or not and if not why??
I have downloaded expat from this link
http://sourceforge.net/projects/expat/files/expat_win32/2.1.0/expat-win32bin-2.1.0.exe/download
and
http://sourceforge.net/projects/expat/files/expat_win32/2.0.0/expat_win32bin_2_0_0.exe/download
and this is my result
C:\Expat-2.1.0\Bin>dir
Volume in drive C has no label.
Volume Serial Number is 455A-51B9
Directory of C:\Expat-2.1.0\Bin
03/04/2012 16:01 <DIR> .
03/04/2012 16:01 <DIR> ..
03/04/2012 14:35 5.176 FILE_KO.xml
03/04/2012 14:35 1.419 FILE_OK.xml
24/03/2012 15:32 131.584 libexpat.dll
24/03/2012 15:32 17.234 libexpat.lib
24/03/2012 15:32 498.530 libexpatMT.lib
24/03/2012 15:32 134.656 libexpatw.dll
24/03/2012 15:32 17.316 libexpatw.lib
24/03/2012 15:32 515.268 libexpatwMT.lib
24/03/2012 15:32 70.144 xmlwf.exe
9 File(s) 1.391.327 bytes
2 Dir(s) 43.431.870.464 bytes free
C:\Expat-2.1.0\Bin>xmlwf.exe FILE_KO.xml
FILE_KO.xml:1:30: unknown encoding
C:\Expat-2.1.0\Bin>xmlwf.exe FILE_OK.xml
C:\Expat-2.1.0\Bin>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3514595&group_id=10127