1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 02:38:13 +00:00
serenity/Userland
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
..
Applets LibConfig: Rename pledge_domains(String) => pledge_domain(String) 2022-02-11 18:06:39 +01:00
Applications PixelPaint: Add a preview in FilterGallery 2022-02-12 12:21:35 +01:00
Demos Meta+Userland: Run the GML formatter on CI and pre-commit 2022-02-07 18:39:50 +01:00
DevTools HackStudio: Put the Build directory inside the Serenity repository 2022-02-12 11:51:48 +01:00
DynamicLoader DynamicLoader+LibC+LibTimeZone: Include LibTimeZone sources in LibC 2022-01-23 12:48:26 +00:00
Games LibConfig: Rename pledge_domains(String) => pledge_domain(String) 2022-02-11 18:06:39 +01:00
Libraries LibTextCodec: Add decoder function that overrides given decoder on BOM 2022-02-12 12:53:28 +01:00
Services LibConfig: Rename pledge_domains(String) => pledge_domain(String) 2022-02-11 18:06:39 +01:00
Shell Shell: Use strncmp() instead of string.compare() for name completions 2022-02-05 16:59:12 +03:30
Utilities Utilities: Add update-cpp-test-results utility 2022-02-12 11:45:15 +00:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00