1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

LibTextCodec: Add a MacRoman decoder

Allows displaying `<meta charset="x-mac-roman">` html files.
(`:set fenc=macroman`, `:w` in vim to save in that encoding.)
This commit is contained in:
Nico Weber 2023-01-24 08:50:53 -05:00 committed by Linus Groh
parent b14b5a4d06
commit eac2b2382c
2 changed files with 33 additions and 0 deletions

View file

@ -69,6 +69,11 @@ public:
virtual void process(StringView, Function<void(u32)> on_code_point) override;
};
class MacRomanDecoder final : public Decoder {
public:
virtual void process(StringView, Function<void(u32)> on_code_point) override;
};
class TurkishDecoder final : public Decoder {
public:
virtual void process(StringView, Function<void(u32)> on_code_point) override;