Use `setEncoding('utf8')` instead of `toString()`
Improve example