Failed to post a topic

Did you try passing encoding="utf8" in open()? That might help.