diff options
author | Aatos Majava <aatos.majava@protonmail.com> | 2021-06-15 16:07:56 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-06-15 15:12:09 +0100 |
commit | 7597cca5c61070ffb699ce0a80d6073cb8dc6f15 (patch) | |
tree | e60f3f8e766d6e3314064775318b313430934898 /Userland/Libraries/LibTextCodec/Decoder.h | |
parent | 155f1026ce7222ae2d4f855e5389230860acea3e (diff) | |
download | serenity-7597cca5c61070ffb699ce0a80d6073cb8dc6f15.zip |
LibTextCodec: Add ISO-8859-15 (aka Latin-9) encoding
Diffstat (limited to 'Userland/Libraries/LibTextCodec/Decoder.h')
-rw-r--r-- | Userland/Libraries/LibTextCodec/Decoder.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibTextCodec/Decoder.h b/Userland/Libraries/LibTextCodec/Decoder.h index 585f05ff0d..ae142c9f89 100644 --- a/Userland/Libraries/LibTextCodec/Decoder.h +++ b/Userland/Libraries/LibTextCodec/Decoder.h @@ -48,6 +48,11 @@ public: virtual String to_utf8(const StringView&) override; }; +class Latin9Decoder final : public Decoder { +public: + virtual String to_utf8(const StringView&) override; +}; + Decoder* decoder_for(const String& encoding); Optional<String> get_standardized_encoding(const String& encoding); bool is_standardized_encoding(const String& encoding); |