<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<br>> > I don't get that, I get this: 'â' (does it depend on C locale settings? if<br>> > so, that's not very satisfactory at all):<br>> >>>> print u'\u2019'.encode('utf-8')<br>> > â<br>> <br>> Hmmm, what are the results of these set of commands?<br>> <br>> $ python<br>> Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)<br>> >>> import locale<br>> >>> locale.getdefaultlocale()<br>> ('en_US', 'UTF8')<br>> >>> print u'\u2019'<br>> '<br>> >>> print u'\u00E2'<br>> â<br><br>For me, it's:<br>>>> import locale<br>>>> 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>