Fix segmentation fault about getting Encoding

There were a error when a user chose Japanese on system language.
Add error message

Probably, this error code means code sign error but I couldn't find the
specification.
Please refer this http://theiphonewiki.com/wiki/MobileDevice_Library and
the "Known Error Codes" section.