<div class="gmail_quote">2012/2/9 Antoine Pitrou <span dir="ltr">&lt;<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">&gt; I think there&#39;s a general expectation that if you encode something<br>
&gt; with one codec you will be able to decode it with the same codec.<br>
&gt; That&#39;s not necessarily true for the locale encoding.<br>
<br>
</div>As And pointed out, this is already the behaviour of the &quot;mbcs&quot; codec<br>
under Windows. &quot;locale&quot; would be the moral (*) equivalent of that under<br>
Unix.</blockquote></div><br>With the difference that mbcs cannot change during execution.<div>I don&#39;t even know if it is possible to change it at all, except by reinstalling Windows.<br clear="all"><div><br></div>-- <br>
Amaury Forgeot d&#39;Arc<br>
</div>