Fixed crash when stringWithDetectedCharset in MCData returns NULL for Japanese text encoding.
Merge branch 'fix-for-jap-encoding-crash' into mc-master