[Mono-devel-list] patch for ToLower()/ToUpper() w/ TextInfo

Atsushi Eno atsushi at ximian.com
Wed Mar 30 16:11:50 EST 2005


Hello,

I've implemented culture-sensitive ToLower()/ToUpper() with TextInfo.
It slightly affects on the results, but certainly different.
TextInfo.ToLower()/ToUpper() should be used by ToLower()/ToUpper() in
System.Char and System.String. It is also to replace existing
InternalCall.

I attached some brute force tests to collect culture-dependent
special case handling under MS.NET.

Please review it. and If no problem I'll checkin it tomorrow night.

Thanks,
Atsushi Eno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: textinfo-case.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050331/65e0a61c/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tolowerchar.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050331/65e0a61c/attachment-0001.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: toupperchar.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050331/65e0a61c/attachment-0002.pl 


More information about the Mono-devel-list mailing list