<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<br>&gt; &gt; I don't get that, I get this: 'â' (does it depend on C locale settings? if<br>&gt; &gt; so, that's not very satisfactory at all):<br>&gt; &gt;&gt;&gt;&gt; print u'\u2019'.encode('utf-8')<br>&gt; &gt; â<br>&gt; <br>&gt; Hmmm, what are the results of these set of commands?<br>&gt; <br>&gt; $ python<br>&gt; Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)<br>&gt; &gt;&gt;&gt; import locale<br>&gt; &gt;&gt;&gt; locale.getdefaultlocale()<br>&gt; ('en_US', 'UTF8')<br>&gt; &gt;&gt;&gt; print u'\u2019'<br>&gt; '<br>&gt; &gt;&gt;&gt; print u'\u00E2'<br>&gt; â<br><br>For me, it's:<br>&gt;&gt;&gt; import locale<br>&gt;&gt;&gt; locale.getdefaultlocale()<br>('en_US', 'ISO8859-1')<br><br>But should I be changing setdefaultlocale() ?<br><br><br /><hr />Use video conversation to talk face-to-face with Windows Live Messenger. <a href='http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008' target='_new'>Get started.</a></body>
</html>