register tochar(), unicode compatible replacement to string.char