- Home
- Forum
- ASP.NET Core - EJ 2
- when i import rtf file include chinese words , DocumentEditor Component shows garbled characters(Wrong character)
when i import rtf file include chinese words , DocumentEditor Component shows garbled characters(Wrong character)
I have a rtf file (see the attachment),when i open it by microsoft word,It shows correct,like below:
but when i import by DocumentEditor , it shows garbled characters(wrong character). I try to convert rft to word by Syncfusion.DocIO.DLS.WordDocument.Save,It is also wrong.
you can test it at below page by open the attachment file (unzip it):
https://ej2.syncfusion.com/vue/demos/#/bootstrap5/document-editor/default.html
Looking forward to your reply, Thanks.
Attachment: UserInfomation_4c25839f.zip
ok, thanks, and there is another problem,DocumentEditor displayed with lost number. see the test file in
attachment.
1.Correct word:
2. Actually displayed(Lost Number)
Attachment: UserInfomation2_19e054f8.zip
Thanks for your reply,I test it for "lost number" , import file by "Open" is ok,but copy (Ctrl + C) and paste(Ctrl +V) is still wrong.
I upgrade the ej2 to 19.3.0.54 and test it at blitz link , but It's the same issue. the test file is "UserInfomation2_19e054f8.zip" Previously provided.
my dev environment is : .net 5 + vs 2022.
Is there any problem in C# code ?
thanks for your help, It works.
- 16 Replies
- 3 Participants
- Marked answer
-
BI bingxueyinlian
- Nov 9, 2021 11:06 AM UTC
- Dec 8, 2021 07:22 AM UTC