mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:27:43 +00:00
LibTextCodec: Remove unused is_standardized_encoding()
This commit is contained in:
parent
13f4890c38
commit
ed7a2f21ff
2 changed files with 0 additions and 7 deletions
|
@ -192,12 +192,6 @@ Optional<String> get_standardized_encoding(const String& encoding)
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
bool is_standardized_encoding(const String& encoding)
|
|
||||||
{
|
|
||||||
auto standardized_encoding = get_standardized_encoding(encoding);
|
|
||||||
return standardized_encoding.has_value() && encoding.equals_ignoring_case(standardized_encoding.value());
|
|
||||||
}
|
|
||||||
|
|
||||||
String UTF8Decoder::to_utf8(const StringView& input)
|
String UTF8Decoder::to_utf8(const StringView& input)
|
||||||
{
|
{
|
||||||
return input;
|
return input;
|
||||||
|
|
|
@ -60,6 +60,5 @@ public:
|
||||||
|
|
||||||
Decoder* decoder_for(const String& encoding);
|
Decoder* decoder_for(const String& encoding);
|
||||||
Optional<String> get_standardized_encoding(const String& encoding);
|
Optional<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