1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00
ladybird/Userland/Libraries
Simon Wanner 6b2c459901 LibTextCodec: Fix ISO-8859-1 vs. windows-1252 handling in web contexts
The Encoding specification maps ISO-8859-1 to windows-1252 and expects
the windows-1252 translation table to be used, which differs from
ISO-8859-1 for 0x80-0x9F.

Other contexts expect to get the actual ISO-8859-1 encoding, with 1-to-1
mapping to U+0000-U+00FF, when requesting it.

`decoder_for_exact_name` is introduced, which skips the mapping from
aliases to the encoding name done by `get_standardized_encoding`.
2024-06-04 10:21:07 +02:00
..
LibAccelGfx
LibArchive Userland: Avoid some conversions from rvalue strings to StringView 2024-04-04 11:23:21 +02:00
LibAudio LibAudio: Move MDCT.h from LibDSP to LibAudio 2024-06-03 15:58:55 +02:00
LibCompress LibCompress: When limiting huffman tree depth, sacrifice bottom of tree 2024-05-26 21:00:55 +02:00
LibCore Libraries: Remove some Serenity-only interface implementations 2024-06-04 07:45:42 +02:00
LibCrypto LibCrypto: Don't compute 2*N remainders in Adler32 2024-05-22 14:25:21 +02:00
LibDiff Everywhere: Use east const in more places 2024-04-19 06:31:19 -04:00
LibFileSystem LibFileSystem: Ignore ENOTSUP when using chown and chmod during copy 2024-04-21 15:34:33 +02:00
LibGfx LibTextCodec: Fix ISO-8859-1 vs. windows-1252 handling in web contexts 2024-06-04 10:21:07 +02:00
LibHTTP LibTLS+LibHTTP: Tolerate improperly closed TLS sockets 2024-04-17 07:19:03 +02:00
LibIDL IDLGenerators: Handle restricted/unrestricted floating point types 2024-05-29 08:18:24 +02:00
LibImageDecoderClient Userland: Remove remaining callers of synchronous ImageDecoder API 2024-04-23 12:32:04 -06:00
LibIPC LibIPC: Remove uneeded NumericLimit<u32>::max check for ByteString 2024-05-12 15:46:29 -06:00
LibJS Everywhere: Remove a lot more things we don't need 2024-06-03 10:53:53 +02:00
LibLine Everywhere: Use east const in more places 2024-04-19 06:31:19 -04:00
LibLocale LibLocale: Statically link LibLocaleData into LibLocale 2024-04-21 13:34:04 -06:00
LibMain Meta: Remove serenity_lib_static() CMake helper function 2024-03-26 12:25:21 -04:00
LibProtocol Revert "LibProtocol: Retry reading if read errors with EAGAIN" 2024-05-31 17:17:24 +02:00
LibRegex Libraries: Remove some Serenity-only interface implementations 2024-06-04 07:45:42 +02:00
LibRIFF LibRIFF+LibGfx/ISOBMFF: Make ChunkID (de)serialization self-consistent 2024-03-22 18:31:15 +01:00
LibSQL LibCore+LibSQL+LibWebView: Move launching a singleton process to LibCore 2024-04-22 14:46:10 -06:00
LibSyntax LibSyntax: Remove minor unnecessary use of LibGUI 2024-06-02 20:00:29 +02:00
LibTest Everywhere: Replace SERENITY_SOURCE_DIR with LADYBIRD_SOURCE_DIR 2024-06-03 15:57:59 +02:00
LibTextCodec LibTextCodec: Fix ISO-8859-1 vs. windows-1252 handling in web contexts 2024-06-04 10:21:07 +02:00
LibThreading Userland: Add ESCAPING annotations to a bunch of places 2024-05-22 21:55:34 -06:00
LibTimeZone LibCore+LibTimeZone: Move TZDB utilities from LibTimeZone to LibCore 2024-03-26 12:25:21 -04:00
LibTLS RequestServer: Handle IPC requests on multiple threads concurrently 2024-05-20 08:03:35 +02:00
LibUnicode AK+LibUnicode: Implement a case-insensitive variant of find_byte_offset 2024-06-01 07:37:54 +02:00
LibURL Everywhere: Remove LibGemini 2024-06-04 09:19:39 +02:00
LibVideo AK+Kernel+LibVideo: Include workarounds for missing P0960 only in Xcode 2024-05-21 14:24:59 +02:00
LibWasm LibWasm: Fix memarg multi-memory reading 2024-06-03 16:20:19 +02:00
LibWeb LibTextCodec: Fix ISO-8859-1 vs. windows-1252 handling in web contexts 2024-06-04 10:21:07 +02:00
LibWebSocket Everywhere: Run clang-format 2024-04-24 16:50:01 -04:00
LibWebView Everywhere: Remove LibGemini 2024-06-04 09:19:39 +02:00
LibXML LibXML: Don't emit a parser error for failing to resolve DTD URI 2024-03-30 07:36:50 +01:00
CMakeLists.txt Everywhere: Remove LibGemini 2024-06-04 09:19:39 +02:00