diff options
-rw-r--r-- | src/core/basetypes/MCData.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/basetypes/MCData.cc b/src/core/basetypes/MCData.cc index 0a03316c..60b8ff8f 100644 --- a/src/core/basetypes/MCData.cc +++ b/src/core/basetypes/MCData.cc @@ -283,6 +283,9 @@ String * Data::stringWithDetectedCharset(String * hintCharset, bool isHTML) if (result == NULL) { result = data->stringWithCharset("iso-2022-jp"); } + if (result == NULL) { + result = MCSTR(""); + } return result; } |