ladybird/Userland/Libraries/LibTextCodec
Max Wipfli d325403cb5 LibTextCodec: Use Optional<String> for get_standardized_encoding
This patch changes get_standardized_encoding to use an Optional<String>
return type instead of just returning the null string when unable to
match the provided encoding to one of the canonical encoding names.

This is part of an effort to move away from using null strings towards
explicitly using Optional<String> to indicate that the String may not
have a value.
2021-05-18 21:02:07 +02:00
..
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Decoder.cpp LibTextCodec: Use Optional<String> for get_standardized_encoding 2021-05-18 21:02:07 +02:00
Decoder.h LibTextCodec: Use Optional<String> for get_standardized_encoding 2021-05-18 21:02:07 +02:00