Hi Dominique,

On Wed, Sep 23, at 10:07 Dominique Pellé wrote:
> (Warning: this message is written using Unicode encoding utf-8)
> 
> Vim-7.2.264 (and older) does not correctly transform the Greek
> uppercase letter Sigma Σ (U+03A3) into lowercase.  When
> transformed into lowercase, this letter should become:
> 
> - ς (U+03C2) when Sigma is at the end of a word.
> - σ (U+03C3) when Sigma is in the middle of a word.
> 
> Here is an example to illustrate the incorrect behavior.
> Original text, contains both kinds of Sigma letters:
> 
>     Μπορεί να θεωρηθεί κλώνος του UNIX, αφού διαθέτει τις περισσότερες
>     εντολές του, ενώ η φιλοσοφία της σχεδίασής του πλησιάζει περισσότερο το
>     UNIX από οποιοδήποτε άλλο λειτουργικό σύστημα.
> 
> Above text is then transformed into uppercase (using <Esc>gU).
> Both characters ς (U+03C2) and σ (U+03C3) become uppercase
> Sigma Σ (U+03A3), which is fine so far:
> 
>     ΜΠΟΡΕΊ ΝΑ ΘΕΩΡΗΘΕΊ ΚΛΏΝΟΣ ΤΟΥ UNIX, ΑΦΟΎ ΔΙΑΘΈΤΕΙ ΤΙΣ ΠΕΡΙΣΣΌΤΕΡΕΣ
>     ΕΝΤΟΛΈΣ ΤΟΥ, ΕΝΏ Η ΦΙΛΟΣΟΦΊΑ ΤΗΣ ΣΧΕΔΊΑΣΉΣ ΤΟΥ ΠΛΗΣΙΆΖΕΙ ΠΕΡΙΣΣΌΤΕΡΟ ΤΟ
>     UNIX ΑΠΌ ΟΠΟΙΟΔΉΠΟΤΕ ΆΛΛΟ ΛΕΙΤΟΥΡΓΙΚΌ ΣΎΣΤΗΜΑ.
> 
> Now transforming above text into lowercase (using <Esc>gu), I get:
> 
>     μπορεί να θεωρηθεί κλώνοσ του unix, αφού διαθέτει τισ περισσότερεσ
>     εντολέσ του, ενώ η φιλοσοφία τησ σχεδίασήσ του πλησιάζει περισσότερο το
>     unix από οποιοδήποτε άλλο λειτουργικό σύστημα.
> 
> Notice that all uppercase Sigmas become middle word Sigmas σ (U+03C3)
> which I think is wrong.  The expected behavior should be:
> 
>     μπορεί να θεωρηθεί κλώνος του unix, αφού διαθέτει τις περισσότερες
>     εντολές του, ενώ η φιλοσοφία της σχεδίασής του πλησιάζει περισσότερο το
>     unix από οποιοδήποτε άλλο λειτουργικό σύστημα.
> 
> Perhaps a native speaker of Greek can confirm?

Yes, I can confirm.

It happens also in Vim version 7.2 patch level 190 (no time to upgrade),
so it looks like an old behavior that stayed unnoticed until now.

Regards,
Agathoklis.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to