FIX unicode

Fix of non-ASCII exception, when error contains some non-latin unicode characters.