## Patch 7.3.536

Expand Messages
• Patch 7.3.536 Problem: When spell checking the German sharp s is not seen as a word character. (Aexl Bender) Solution: In utf_islower() return true for
Message 1 of 4 , Jun 1, 2012
• 0 Attachment
Patch 7.3.536
Problem: When spell checking the German sharp s is not seen as a word
character. (Aexl Bender)
Solution: In utf_islower() return true for the sharp s. Note: also need
updated spell file for this to take effect.
Files: src/mbyte.c

*** ../vim-7.3.535/src/mbyte.c 2012-06-01 15:20:49.000000000 +0200
--- src/mbyte.c 2012-06-01 16:50:41.000000000 +0200
***************
*** 2949,2955 ****
{
{0x61,0x7a,1,-32},
{0xb5,0xb5,-1,743},
! {0xe0,0xf6,1,-32},
{0xf8,0xfe,1,-32},
{0xff,0xff,-1,121},
{0x101,0x12f,2,-1},
--- 2949,2955 ----
{
{0x61,0x7a,1,-32},
{0xb5,0xb5,-1,743},
! {0xe0,0xf6,1,-32}, /* 0xdf (German sharp s) is not upper-cased */
{0xf8,0xfe,1,-32},
{0xff,0xff,-1,121},
{0x101,0x12f,2,-1},
***************
*** 3129,3135 ****
utf_islower(a)
int a;
{
! return (utf_toupper(a) != a);
}

/*
--- 3129,3136 ----
utf_islower(a)
int a;
{
! /* German sharp s is lower case but has no upper case equivalent. */
! return (utf_toupper(a) != a) || a == 0xdf;
}

/*
*** ../vim-7.3.535/src/version.c 2012-06-01 15:20:49.000000000 +0200
--- src/version.c 2012-06-01 17:45:17.000000000 +0200
***************
*** 716,717 ****
--- 716,719 ----
{ /* Add new patch number below this line */
+ /**/
+ 536,
/**/

--
hundred-and-one symptoms of being an internet addict:
16. You step out of your room and realize that your parents have moved and
you don't have a clue when it happened.

/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
You received this message from the "vim_dev" maillist.
• ... There is an upper-cased sharp s in German. It just looks different. -- You received this message from the vim_dev maillist. Do not top-post! Type your
Message 2 of 4 , Jun 1, 2012
• 0 Attachment
Bram Moolenaar schrob am 01. Jun. 2012 um 17:47 Zeit:
> ! {0xe0,0xf6,1,-32}, /* 0xdf (German sharp s) is not upper-cased */

There is an upper-cased sharp s in German. It just looks different.

--
You received this message from the "vim_dev" maillist.
• ... Mostly SS is used for the upper case version, if at all. The uppser-case sharp s is not in latin1. Wikipedia: ß is nearly unique among the letters of
Message 3 of 4 , Jun 1, 2012
• 0 Attachment
Tux wrote:

> Bram Moolenaar schrob am 01. Jun. 2012 um 17:47 Zeit:
> > ! {0xe0,0xf6,1,-32}, /* 0xdf (German sharp s) is not upper-cased */
>
>
> There is an upper-cased sharp s in German. It just looks different.

Mostly SS is used for the upper case version, if at all. The
uppser-case sharp s is not in latin1. Wikipedia:

ß is nearly unique among the letters of Latin alphabet in that it had no
traditional upper case form. This is because it never occurs initially,
and traditional German printing in blackletter never used all-caps.

However, there have been repeated attempts to introduce an upper case ß.
Such letterforms can be found in some older German books and some modern
signage and product design. Since April 4, 2008 Unicode 5.1.0 has
included it ("ẞ") as U+1E9E LATIN CAPITAL LETTER SHARP

--
When a fly lands on the ceiling, does it do a half roll or
a half loop?

/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
You received this message from the "vim_dev" maillist.
• ... Yes, usually ß → SS when converting a word to all-caps. The problem of course is that this operation is not reversible, except in de-CH, where ss is
Message 4 of 4 , Jun 1, 2012
• 0 Attachment
On 01/06/12 18:52, Bram Moolenaar wrote:
>
> Tux wrote:
>
>> Bram Moolenaar schrob am 01. Jun. 2012 um 17:47 Zeit:
>>> ! {0xe0,0xf6,1,-32}, /* 0xdf (German sharp s) is not upper-cased */
>>
>>
>> There is an upper-cased sharp s in German. It just looks different.
>
> Mostly SS is used for the upper case version, if at all. The
> uppser-case sharp s is not in latin1. Wikipedia:

Yes, usually ß → SS when converting a word to all-caps. The problem of
course is that this operation is not reversible, except in de-CH, where
ss is used in lowercase even where de-DE uses ß. In Switzerland, ß (or
black-letter ſz) is only used nowadays to give inscriptions an
"old-fashioned" look.

>
> ß is nearly unique among the letters of Latin alphabet in that it had no
> traditional upper case form. This is because it never occurs initially,
> and traditional German printing in blackletter never used all-caps.
>
> However, there have been repeated attempts to introduce an upper case ß.
> Such letterforms can be found in some older German books and some modern
> signage and product design. Since April 4, 2008 Unicode 5.1.0 has
> included it ("ẞ") as U+1E9E LATIN CAPITAL LETTER SHARP
>

Here is what Unicode charts tell me:

http://www.unicode.org/charts/PDF/U0080.pdf under 00DF:
ß 00DF LATIN SMALL LETTER SHARP S
= Eszett
* German
* uppercase is “SS”
* in origin a ligature of 017F ſ and 0073 s
→ 03B2 β greek small letter beta
→ 1E9E ẞ latin capital letter sharp s

http://www.unicode.org/charts/PDF/U1E00.pdf under 1E9E:
ẞ 1E9E LATIN CAPITAL LETTER SHARP S
* lowercase is 00DF ß
→ 00DF ß latin small letter sharp s

IOW, according to Unicode, lowercase of ẞ is ß but uppercase of ß is SS
— understand who can.

N.B. My father has a German atlas printed before WWI in a Roman (i.e.
not Fraktur and not blackletter) typeface; there the uppercase of ß was
SZ (e.g. RUSZLAND for Russia). This would be "more" reversible since
-sz- could only happen in German in a compound word, at the boundary
between a wordpart ending in s followed by a wordpart beginning with z.

Best regards,
Tony.
--
ARTHUR: Who are you?
TALL KNIGHT: We are the Knights Who Say "Ni"!
BEDEVERE: No! Not the Knights Who Say "Ni"!
"Monty Python and the Holy Grail" PYTHON (MONTY)
PICTURES LTD

--
You received this message from the "vim_dev" maillist.