1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +00:00

LibTextCodec: Add Latin2 text decoder (#4579)

This commit is contained in:
Łukasz Maciejewski 2020-12-27 22:44:38 +01:00 committed by GitHub
parent c7911fdce9
commit 518ba73dcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 109 additions and 2 deletions

View file

@ -45,6 +45,11 @@ public:
virtual String to_utf8(const StringView&) override;
};
class Latin2Decoder final : public Decoder {
public:
virtual String to_utf8(const StringView&) override;
};
Decoder* decoder_for(const String& encoding);
String get_standardized_encoding(const String& encoding);
bool is_standardized_encoding(const String& encoding);