The method Locale::RecodeData::Encode::_recode() calls Encode::from_to() which requires its first argument to have the utf-8 flag switched off. Historically that was possible by the bytes pragma but that no longer works. Instead, switch the flag off explicitely.
Otherwise, the method throws an exception "Wide character /include/path/Locale/RecodeData/_Encode line 46".
Also check for other occurences of the bytes pragma which is now deprecated.
The method
Locale::RecodeData::Encode::_recode()
callsEncode::from_to()
which requires its first argument to have the utf-8 flag switched off. Historically that was possible by thebytes
pragma but that no longer works. Instead, switch the flag off explicitely.Otherwise, the method throws an exception "Wide character /include/path/Locale/RecodeData/_Encode line 46".
Also check for other occurences of the
bytes
pragma which is now deprecated.