ladybird/Userland/Libraries/LibTextCodec
Luke Wilde 835a344337 LibTextCodec: Add decoder function that overrides given decoder on BOM
This functions takes a user-provided decoder and will only use it if no
BOM is in the input.

If there is a BOM, it will ignore the given decoder and instead decode
the input with the appropriate Unicode decoder for the detected BOM.

This is only to be used where it's specifically needed, for example XHR
uses this for compatibility with deployed content. As such, it has an
obnoxious name to discourage usage.
2022-02-12 12:53:28 +01:00
..
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Decoder.cpp LibTextCodec: Add decoder function that overrides given decoder on BOM 2022-02-12 12:53:28 +01:00
Decoder.h LibTextCodec: Add decoder function that overrides given decoder on BOM 2022-02-12 12:53:28 +01:00