Deprecation: #87894 - GeneralUtility::idnaEncode
See forge#87894
Description
PHP has the native function
idn_
for converting UTF-8 based domains to ascii-based ("punicode")
which is available in all supported PHP versions using
"symfony/
.
For this reason the method
General
has been marked as deprecated.
Impact
Calling
General
directly will trigger a PHP
E_
error.
Affected Installations
Any TYPO3 installation with third-party extensions calling this method.
Migration
Use
idn_
instead.
Please be aware that contrary to
General
the native PHP function only works on domain names, not email addresses or
similar. In order to encode email addresses split the address at the last
'@'
and use
idn_
on that last part.
Also, if there is an error in converting a string, a bool
false
is returned.