|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^10: How to reverse a (Unicode) stringby Jim (Chaplain) |
| on Jan 31, 2011 at 23:39 UTC ( #885375=note: print w/ replies, xml ) | Need Help?? |
|
I intend to submit a perlbug report. I've never used perlbug before, so I want to take the time to do it right and not botch it. I get the sense the Perl maintainers don't suffer fools lightly, so I don't want to be foolish. The only thing I am saying in this discussion is that several of Perl's built-in string functions (e.g., reverse) are not sufficiently Unicode-conforming. Today, a modern scripting language whose traditional strength is text processing needs to be fully capable of handling the complex richness of Unicode with aplomb. An important example of something a modern scripting language needs to be able to do is this: When it reverses Unicode text, it must do it correctly by grapheme clusters, not incorrectly by code points.
In Section
Tutorials
|
|
||||||||||||||||||||