Modify for non-ascii character env.