mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
LibTextCodec: Add a function to convert encodings to standardized names
https://encoding.spec.whatwg.org/#names-and-labels
This commit is contained in:
parent
826096bac3
commit
f3d2053bff
Notes:
sideshowbarker
2024-07-19 02:29:05 +09:00
Author: https://github.com/Lubrsi
Commit: f3d2053bff
Pull-request: https://github.com/SerenityOS/serenity/pull/4070
Reviewed-by: https://github.com/awesomekling
2 changed files with 101 additions and 1 deletions
|
@ -46,5 +46,7 @@ public:
|
|||
};
|
||||
|
||||
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