Index: fpdfsdk/pdfwindow/PWL_EditCtrl.cpp |
diff --git a/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp b/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp |
index 1bb17db6de0fcea2a4802a06a09d4ea292c1a68e..ee3df36a71c3eb9fb14b50a339552ca91aa28853 100644 |
--- a/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp |
+++ b/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp |
@@ -483,7 +483,7 @@ void CPWL_EditCtrl::ShowVScrollBar(FX_BOOL bShow) {} |
void CPWL_EditCtrl::InsertText(const FX_WCHAR* csText) { |
if (!IsReadOnly()) |
- m_pEdit->InsertText(csText); |
+ m_pEdit->InsertText(csText, DEFAULT_CHARSET); |
} |
void CPWL_EditCtrl::InsertWord(uint16_t word, int32_t nCharset) { |