Unicode char encryption fix