Fixed bug in Unix char()