Modified pirdbot to handle multiple incoming charsets