Hello List,<br>i am trying to convert local Swedish daynames to ASCII<br><br>&quot;Måndag&quot; should become &quot;Mandag&quot;<br>&quot;Lördag&quot; should become &quot;Lordag&quot;<br>&quot;Söndag&quot; should become &quot;Sondag&quot;
<br><br>here is my session<br><br>import locale<br>locale.setlocale(locale.LC_ALL, 'sv_Se')<br>datetime.date(2006, 06, 19).strftime(&quot;%A&quot;)<br>'M\xc3\xa5ndag'<br>datetime.date(2006, 06, 19).strftime(&quot;%A&quot;).decode('utf8').encode('ascii','ignore')
<br>'Mndag'<br><br>Somehow, the Swedish character &quot;å&quot; gets dropped in the conversion to ascii. <br>how can I accomplish the conversion 'å' --&gt; 'a' etc.? should I use a dictionary?<br>thanks for any insight<br>
-frank<br><br>