Fixed UnicodeError when writing article content