Getting completely (I mean ENTIRELY) rid off GC
Marco Leise via Digitalmars-d
digitalmars-d at puremagic.com
Fri Sep 12 08:11:39 PDT 2014
Am Fri, 12 Sep 2014 13:45:45 +0200
schrieb Jacob Carlborg <doob at me.com>:
> On 12/09/14 08:59, Daniel Kozak via Digitalmars-d wrote:
>
> > toUpperInPlace could help little, but still not perfect
>
> Converting text to uppercase doesn't work in-place in some cases. For
> example the German double S will take two letters in uppercase form.
The German "double S", I see ... Let me help you out of this.
The letter ß, named SZ, Eszett, sharp S, hunchback S, backpack
S, Dreierles-S, curly S or double S in Swiss, becomes SS in
upper case since 1967, because it is never used as the start
of a word and thus doesn't have an upper case representation
of its own. Before, from 1926 on, the translation was to SZ.
So a very old Unicode library might give you incorrect results.
The uppercase letter I on the other hand depends on the locale.
E.g. in England the lower case version is i, whereas in Turkey
it is ı, because they also have a dotted İ, which becomes i.
;)
--
Marco
More information about the Digitalmars-d
mailing list