ladybird/Userland/Libraries/LibWeb/Encoding
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
..
TextDecoder.cpp LibTextCodec: Fix ISO-8859-1 vs. windows-1252 handling in web contexts 2024-06-04 10:21:07 +02:00
TextDecoder.h LibWeb+Meta: Add wrapper for the BufferSource/ArrayBufferView IDL types 2023-11-24 08:43:35 +01:00
TextDecoder.idl LibWeb: Add constructor options to TextDecoder 2023-10-29 21:44:53 +01:00
TextEncoder.cpp LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
TextEncoder.h LibWeb: Use WebIDL types where possible instead of C types 2024-02-26 19:26:13 +00:00
TextEncoder.idl LibWeb: Add TextEncoder encodeInto 2023-10-29 21:44:53 +01:00