https://bugs.winehq.org/show_bug.cgi?id=55804
Bug ID: 55804 Summary: DICOM Viewer (eFilm Workstation 2.x/3.x) aborts because libxml2 doesn't like "ISO8859-1" (builtin msxml6). Product: Wine Version: 8.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msxml3 Assignee: [email protected] Reporter: [email protected] Distribution: ---
Created attachment 75294 --> https://bugs.winehq.org/attachment.cgi?id=75294 xml2: Allow encoding="ISO8859-1".
Bug #13340 is for the same application but with native msxml6.
This bug is about the nearly same error message when using builtin msxml6:
XML Parser Error LoadXMLFile 'C:\efilmlite_dvd\eFilmLite\Profiles \Default\ToolBarMiniCfg.xml': Error: Code = 0x80004005 Source = Line: 0; Char: 0 Error Description = error
But this seems to be caused by the bundled libxml2 not accepting as encoding "ISO8859-1", just "ISO-8859-1".
https://bugs.winehq.org/show_bug.cgi?id=55804
Vijay Kamuju [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #1 from Vijay Kamuju [email protected] --- May be due to the below reason listed libxml might not support it. https://stackoverflow.com/questions/17839207/is-iso8859-1-an-acceptable-vari...
https://bugs.winehq.org/show_bug.cgi?id=55804
--- Comment #2 from Vijay Kamuju [email protected] --- can you please create an MR for this?
https://bugs.winehq.org/show_bug.cgi?id=55804
--- Comment #3 from Bernhard Übelacker [email protected] --- Thanks for having a look, I created a MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/4617
https://bugs.winehq.org/show_bug.cgi?id=55804
--- Comment #4 from Vijay Kamuju [email protected] --- Please rebase your MR
https://bugs.winehq.org/show_bug.cgi?id=55804
--- Comment #5 from Bernhard Übelacker [email protected] --- Thanks, I rebased to latest git.
https://bugs.winehq.org/show_bug.cgi?id=55804
--- Comment #6 from Vijay Kamuju [email protected] --- Instead of the changes to libs/xml, just do the below changes in dlls/msxml3/main.c
--- a/dlls/msxml3/main.c +++ b/dlls/msxml3/main.c @@ -311,6 +311,7 @@ static void init_char_encoders(void) } encoder[] = { { "gbk", gbk_to_utf8, utf8_to_gbk }, + { "iso8859-1", win1252_to_utf8, utf8_to_win1252 }, { "windows-1250", win1250_to_utf8, utf8_to_win1250 }, { "windows-1251", win1251_to_utf8, utf8_to_win1251 }, { "windows-1252", win1252_to_utf8, utf8_to_win1252 },
https://bugs.winehq.org/show_bug.cgi?id=55804
Bernhard Übelacker [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |c2c9610f44f5eb8c550deea2454 | |36dd12b08f701
--- Comment #7 from Bernhard Übelacker [email protected] --- Merge request got accepted, resolving fixed.
https://bugs.winehq.org/show_bug.cgi?id=55804
Alexandre Julliard [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard [email protected] --- Closing bugs fixed in 9.17.