Re: How to convert 'ö' to 'oe' or 'o' (or other si =?utf-8?Q?milar_things)_in_a_string??=

2016-09-18 Thread Thorsten Kampe
* Terry Reedy (Sun, 18 Sep 2016 03:51:40 -0400)
> 
> On 9/18/2016 2:45 AM, Steven D'Aprano wrote:
> 
> > It doesn't matter whether you call them "accent" like most people do, or
> > "diacritics" as linguists do.
> 
> I am a native born American and I have never before heard or seen 
> non-accent diacritic marks called 'accents'.  Accents indicate stress. 
> Other diacritics indicate other pronunciation changes.  It is 
> counterproductive to confuse the two groups.  Spanish, for instance, has 
> vowel accents that change which syllable gets stressed.  A tilda is not 
> an accent; rather, it softens the pronunciation of 'n' to 'ny', as in 
> 'canyon'.

Had to be said. Nothing to add.

Thorsten

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: How to convert 'ö' to 'oe' or 'o' (or other si =?utf-8?Q?milar_things)_in_a_string??=

2016-09-18 Thread Thorsten Kampe
* Martin Schöön (17 Sep 2016 20:20:12 GMT)
> 
> Den 2016-09-17 skrev Kouli :
> > Hello, try the Unidecode module - https://pypi.python.org/pypi/Unidecode.
> >
> > Kouli
> >
> > On Sat, Sep 17, 2016 at 6:12 PM, Peng Yu  wrote:
> >> Hi, I want to convert strings in which the characters with accents
> >> should be converted to the ones without accents. Here is my current
> >> code.
> 
> Side note from Sweden. Å, ä and ö are not accented characters in our 
> language. They are characters of their own.

I think he meant diacritics.

Thorsten

-- 
https://mail.python.org/mailman/listinfo/python-list