mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibTextCodec: Add Latin2 text decoder (#4579)
This commit is contained in:
parent
c7911fdce9
commit
518ba73dcb
Notes:
sideshowbarker
2024-07-19 00:32:48 +09:00
Author: https://github.com/lukasz-m-maciejewski 🔰
Commit: 518ba73dcb
Pull-request: https://github.com/SerenityOS/serenity/pull/4579
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