1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-04-14 06:50:09 +03:00
Nick Wellnhofer 98840d40da parser: Rework EBCDIC code page detection
To detect EBCDIC code pages, we used to switch the encoding twice and
had to be very careful not to decode data after the XML declaration
before the second switch. This relied on a hard-coded expected size of
the XML declaration and was complicated and unreliable.

Now we convert the first 200 bytes to EBCDIC-US and parse the encoding
declaration manually.
2023-03-21 21:35:15 +01:00
..
2022-11-27 02:20:53 +01:00
2022-11-27 02:20:53 +01:00
2022-11-27 02:20:53 +01:00
2022-11-27 02:20:53 +01:00
2022-11-27 02:20:53 +01:00
2022-11-27 02:20:53 +01:00
2023-02-13 11:14:34 +01:00
2022-11-27 02:20:53 +01:00
2022-11-27 02:20:53 +01:00
2022-11-27 02:20:53 +01:00
2022-11-27 02:20:53 +01:00
2022-11-27 02:20:53 +01:00
2022-11-27 02:20:53 +01:00
2023-02-22 14:24:24 +01:00
2022-11-27 02:20:53 +01:00
2022-11-27 02:20:53 +01:00