Hello List,i am trying to convert local Swedish daynames to ASCIIMåndag should become MandagLördag should become LordagSöndag should become Sondag
here is my sessionimport localelocale.setlocale(locale.LC_ALL, 'sv_Se')datetime.date(2006, 06, 19).strftime(%A)'M\xc3\xa5ndag'datetime.date(2006, 06,
May I suggest you look at this
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/251871
including the comments. (The last comment in particular looks intriguing...)
André
On 6/19/06, frank h. [EMAIL PROTECTED] wrote:
Hello List,
i am trying to convert local Swedish daynames to ASCII
Why don't you use the extended ASCII characters where Swedish characters are included.
On 6/19/06, frank h. [EMAIL PROTECTED] wrote:
Hello List,i am trying to convert local Swedish daynames to ASCIIMåndag should become MandagLördag should become LordagSöndag should become Sondag
here is my