April 12th, 2013, 11:21 AM
My bot joins different irc channels than me (possible mismatch between "utf-8" or "iso-2022-jp").
I try to join #よろしく channel, but I join #^[$B$h$m$7$/^[(B or #\xe3\x82\x88\xe3\x82\x8d\xe3\x81\x97\xe3\x81\x8f instead.
How to fix it, plz?
April 12th, 2013, 11:39 PM
Please post your code, otherwise it's very hard to help you. Also tell if you're using python2 or python3.
April 13th, 2013, 01:42 AM
I'm working on Python 2.6
Channel names are taken from chan01.txt file.
file01 = os.path.join(os.path.split(__file__), 'chan01.txt')
Encoding in that file is 'Automatically Detected' according to the file settings.