News for hackers. Stuff that matters.
Re:Text normalization in Go by patrickg on Wednesday November 27, 2013 @02:29AM (#6806966)
Does weiss == weiß ?

Yes and no. The swiss would write the former, other German speaking (writing) countries would write the latter. It is incorrect in Germany (after ie, au, eu, ... you must not write ss, unless it's a name, such as the city Neuss)

The upper case of weiß would be WEISS. But it's hard from the upper case WEISS to determine if the lower case is weiss or weiß. (This is why one should never write people's names in bibliographies in small caps.)

Re:Text normalization in Go by qznc on Wednesday November 27, 2013 @03:46AM (#6807147)
Well, toUpperCase() is kind of a broken API. It should be something like "weiß".toUpperCase("de-DE") to distinguish to "weiß".toUpperCase("de-CH").
Re:Text normalization in Go by qznc on Wednesday November 27, 2013 @03:43AM (#6807144)
You can upper case of weiß as WEIß. It is mandatory for taxes and other documents and recommended by the Post.

Technically, Unicode has a capital sharp s since 5.1.0, so we could write WEIẞ.

Re:Text normalization in Go by patrickg on Wednesday November 27, 2013 @04:04AM (#6807189)
Yes, you can do that. But that's evil and ugly (mixing uppercase and lowercase letters that way). I know it has do be done sometimes.

And I am glad that U+1E9E (LATIN CAPITAL LETTER SHARP S) is not official part of German orthography.