Make unicode compatible transformation

### Description

Smooth unicode handling. 
Why `replace`?