Re: Just curious: who is using Pike for what?
"Peter Bortas @ Pike importm?te f?r mailinglistan" <[email protected]> Wed, 14 Dec 2016 12:30:06 +0000 (UCT)
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
>The Unicode spec doesn't say that case conversions have to be >symmetrical. I don't particularly like the term "special", as it >implies that it handles _only_ the special cases; can't we use >"Unicode.upper_case"? In most situations, it's going to return the >same thing that upper_case does, so the choice between the two would >be down to whether you care about the string staying the same length, >or about the strict conversions. Unicode.upper_case() is going to be confused with upper_case(). The choice would also be if you should apply locale specific conversions. How does Python handle that?