minor code clean up
fix #5: set default Charset to UTF-8