Message141928
| Author |
tchrist |
| Recipients |
tchrist |
| Date |
2011年08月11日.21:39:43 |
| SpamBayes Score |
0.0012086262 |
| Marked as misclassified |
No |
| Message-id |
<1313098784.96.0.996919907442.issue12736@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Python's casemapping functions only use what Unicode calls simple casemaps. These are only appropriate for functions that operate on single characters alone, not for those that operate on strings. The reason for this is that you get much better results with full casemapping. Java, Ruby, and Perl all do full casemapping for their equivalent functions that do string mapping, and Python should, too.
I include a program that has a much of mappings and foldings both simple and full. Yes, it was machine-generated. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年08月11日 21:39:45 | tchrist | set | recipients:
+ tchrist |
| 2011年08月11日 21:39:44 | tchrist | set | messageid: <1313098784.96.0.996919907442.issue12736@psf.upfronthosting.co.za> |
| 2011年08月11日 21:39:44 | tchrist | link | issue12736 messages |
| 2011年08月11日 21:39:44 | tchrist | create |
|