Added basic support for special (non-ASCII) characters.