Implemented support for custom characters (fixes #4)