Breaking: #82852 - Exception is thrown on invalid charset
See forge#82852
Description
The method \TYPO3\
and
consequently all methods in this class calling that method now throw
an \TYPO3\
if an unknown
charset was provided.
The Typo
aka TSFE uses this to throw
a \Runtime
in case of an invalid config.
.
Before this resulted in a blank page instead.
Impact
Third party code directly using the Charset
class need to be aware of the new exception in case of an invalid charset.
Sites with an invalid config.
will now see a clear error message.
Migration
Catch the Unknown
of the Charset
if necessary.
Ensure that config.
is set to a known charset.