TRichView v13.6.2 Problem
TRichView v13.6.2 Problem
when I choose some Chinese£¬it doesn't display correctly, it shows the messy code!
When I Save some Chinese as RTF and open it with the wordpad.exe
it will show the messy code!
[/quote]
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Ok,work in Unicode! But the problem still exists, I change Some text font stytle and save as RTF.Open the RTF with Wordpad.exe the font name will show in front of text!..I use XE2! I send the Sameple test to your Email:
richview@gmail.com
richview@gmail.com
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
This is a wordpad/richedit bug: it incorrectly processes Unicode characters in font names. As you can see, only Chinese font names appear in the document. And, as you can see, this document is loaded correctly in MS Word and TRichView itself.
TRichView has an option for converting font names from Unicode when saving to RTF. You need a source code to apply it. Open RV_Defs.inc and remove NOT from {NOT$DEFINE RVRTFNOUNICODEFONTNAMES}
TRichView has an option for converting font names from Unicode when saving to RTF. You need a source code to apply it. Open RV_Defs.inc and remove NOT from {NOT$DEFINE RVRTFNOUNICODEFONTNAMES}
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Hello Sergey ..The problem of saving RTF is fixed,But When I use
the RichViewEdit to load RTF and choose some Chinese,The problem of
displaying correctly still exist!! It shows the messy code! My application compile in Unicode!
I use your demo unicode application----RVEditDemo to load the RTF , the problem still exist!!
the RichViewEdit to load RTF and choose some Chinese,The problem of
displaying correctly still exist!! It shows the messy code! My application compile in Unicode!
I use your demo unicode application----RVEditDemo to load the RTF , the problem still exist!!
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: