On Tue, Nov 25, 2008 at 11:53 AM, luca72 <span dir="ltr"><<a href="mailto:lucaberto@libero.it">lucaberto@libero.it</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hello i'm writing an irc client, i use for encoding the utf-8 but i<br>
never see all the typed sign in the correct way, anyone know the<br>
standard encodind for the irc channels?<br>
<br>
Regards<br>
<br>
Luca<br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>This is something where Google is very helpful. I haven't dealt with this before, but a look at the definition of the protocol says there isn't any standard encoding. As a matter of fact, the RFC specifically says there is no standard character set[1]. The only thing it specifies is that IRC uses
an 8-bit protocol. Since UTF-8 that doesn't work, I'd try using
ISO-8859 and CP1252 and see if those work better.<br>
<br>
[1] <a href="http://www.faqs.org/rfcs/rfc1459.html">http://www.faqs.org/rfcs/rfc1459.html</a> (section 2.2)<br>