On 8 April 2013 19:06, Jacob Carlborg <[email protected]> wrote:

> On 2013-04-08 10:15, Manu wrote:
>
>  ... I don't think that's actually true. Can you suggest such a character
>> in any language? I think they take that sort of thing into careful
>> consideration when designing the codepoints for a character set.
>> But if that is the case, then a function called toUpperInPlace is flawed
>> by design, because it would be incapable of doing what it says it does.
>> I'm not convinced that's true though.
>>
>
> The German double "s" (ß) in uppercase form should be "SS". That consists
> of two characters. There's also something similar with the Turkic "I" with
> a dot.
>
> Here's the full list of special casings:
>
> http://www.unicode.org/Public/**UNIDATA/SpecialCasing.txt<http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt>
>
> You should also read this:
>
> http://forum.dlang.org/thread/**[email protected]<http://forum.dlang.org/thread/[email protected]>
>
> Shows some nasty corner cases with Unicode.
>
> Short summary: encodings are PITA.


... bugger! :/
Well I guess that function just needs to be amended to not-upper-case-ify
those troublesome letters? Shame.

Reply via email to