Fixed characters encoding

close #9