mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:47:44 +00:00
LibTextCodec: Add "get output encoding" from the Encoding specification
This commit is contained in:
parent
a53486a073
commit
eaa4048870
2 changed files with 13 additions and 0 deletions
|
@ -97,4 +97,6 @@ Optional<Decoder&> bom_sniff_to_decoder(StringView);
|
|||
// This will use the given decoder unless there is a byte order mark in the input, in which we will instead use the appropriate Unicode decoder.
|
||||
ErrorOr<String> convert_input_to_utf8_using_given_decoder_unless_there_is_a_byte_order_mark(Decoder&, StringView);
|
||||
|
||||
StringView get_output_encoding(StringView encoding);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue