Index: core/fpdfapi/fpdf_parser/cpdf_document.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_document.cpp b/core/fpdfapi/fpdf_parser/cpdf_document.cpp |
index 230b9b0d1b1bd20224b2646987c40cef77b483ed..485d53883211a0887aaeb4d8d402ef6a7b6cad15 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_document.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_document.cpp |
@@ -261,7 +261,7 @@ uint8_t FX_GetCsFromLangCode(uint32_t uCode) { |
else |
iStart = iMid + 1; |
} |
- return 0; |
+ return FXFONT_ANSI_CHARSET; |
} |
uint8_t FX_GetCharsetFromLang(const FX_CHAR* pLang, int32_t iLength) { |