From 7597cca5c61070ffb699ce0a80d6073cb8dc6f15 Mon Sep 17 00:00:00 2001 From: Aatos Majava Date: Tue, 15 Jun 2021 16:07:56 +0300 Subject: LibTextCodec: Add ISO-8859-15 (aka Latin-9) encoding --- Userland/Libraries/LibTextCodec/Decoder.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Userland/Libraries/LibTextCodec/Decoder.h') 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 get_standardized_encoding(const String& encoding); bool is_standardized_encoding(const String& encoding); -- cgit v1.2.3