Re: [Tutor] local day names in ascii

2006-06-19 Thread lists
Reply to anush badii <[EMAIL PROTECTED]> 06-06-19 08:52: > Why don't you use the extended ASCII characters where Swedish characters are > included. Not to be be picky but "extended ASCII" isn't a character set and have never been. He should be using ISO-8859-1 (or as it's sometimes called Latin 1

Re: [Tutor] local day names in ascii

2006-06-19 Thread anush badii
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 ASCII"Måndag" should become "Mandag""Lördag" should become "Lordag""Söndag" should become "Sondag"

Re: [Tutor] local day names in ascii

2006-06-19 Thread Andre Roberge
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

[Tutor] local day names in ascii

2006-06-19 Thread frank h.
Hello List,i am trying to convert local Swedish daynames to ASCII"Måndag" should become "Mandag""Lördag" should become "Lordag""Sö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.dat