added UTF-8 support
fixed Spec