error string should be unicode string