Fixs Mac get abnormal string .

but case

* `\n`
* `\b`