When I write korean characters in TRichViewEdit, and use the Delete or Backspace key to delete a korean character, It works wrong. It does not delete a korean character perfectly.
If I use the key twice, It deletes a korean character perfectly.
Korean characters are double-byte characters(DBCS).
Does the TRichView not support DBCS?
If not, why?
I think RichView with DBCS is possible if use the ByteToCharLen() function when the character length (not string buffer length) is needed.
Example :
//CharLen := System.Length(AString)
CharLen := ByteToCharLen(AString, System.Length(AString) )
(Sorry for my poor English)
Backspace/Delete key works wrong with Korean characters
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
No, trichview does not support DBCS directly.
In order to support Korean, use Unicode: http://www.trichview.com/forums/viewtopic.php?t=70
You can still load and save DBCS files, but internally the text must be Unicode.
In order to support Korean, use Unicode: http://www.trichview.com/forums/viewtopic.php?t=70
You can still load and save DBCS files, but internally the text must be Unicode.