Backspace/Delete key works wrong with Korean characters
Posted: Sat Apr 21, 2007 1:51 pm
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)
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)