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:
parent
c7911fdce9
commit
518ba73dcb
2 changed files with 109 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue