2 ms·
No. Foreign encodings are internally converted to utf-8 via the Encoding library and IO layers. The string library is only done for latin-1 and utf-8. The only
by rurban 8y ago
No. Foreign encodings are internally converted to utf-8 via the Encoding library and IO layers.
The string library is only done for latin-1 and utf-8.
The only trouble is that you have to remember the original encoding, if you need that information. It's stored nowhere.
E.g. to write to a file in the original encoding you have to open it with the correct IO layer. perl6 got that fixed.