Fix encoding for non-latin string
version 0.1.7