1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:37:45 +00:00

LibTextCodec: Add alternate Cyrillic (aka Koi8-r) encoding

Fixes #6840.
This commit is contained in:
Dmitry Petrov 2021-12-14 01:19:56 +01:00 committed by Andreas Kling
parent 2c1a6ce9a5
commit 6f5102f435
2 changed files with 41 additions and 0 deletions

View file

@ -52,6 +52,11 @@ public:
virtual void process(StringView, Function<void(u32)> on_code_point) override;
};
class Koi8RDecoder final : public Decoder {
public:
virtual void process(StringView, Function<void(u32)> on_code_point) override;
};
class Latin9Decoder final : public Decoder {
public:
virtual void process(StringView, Function<void(u32)> on_code_point) override;