3 ms·
> > use utf8; > there’s still much to be done to make Unicode the default Why's that? If that's something someone with zero Perl experience can easily underst
by rplnt 6y ago
> > use utf8;
> there’s still much to be done to make Unicode the default
Why's that? If that's something someone with zero Perl experience can easily understand. Isn't this only about the source code? Or does this mean all strings are unicode?
- moonchild 6y agoThis[1] explains it. Essentially, to support unicode probably, you have to do extra work in your own code. (How do you handle invalid unicode? Should regex character classes match the unicode versions, or just the ascii versions? etc.) Additionally, certain builtin functions don't already support unicode, and modifying them to do that would be a breaking change. For more info, see the py2->py3 unicode change, and how much of a mess that caused. 1. https://stackoverflow.com/questions/6162484#6163129 https://stackoverflow.com/questions/6162484#6163129