Make unicode compatible transformation

### Description

Smooth unicode handling. 
Why anything? The only reason for using a `replace` or `ignore` is if you're dealing with really broken unicode strings that lie about their encoding or if it's corrupt.