diff options
author | nyamatongwe <devnull@localhost> | 2010-08-05 13:02:09 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-08-05 13:02:09 +1000 |
commit | d4c844dc5f7e57a622db077c544eed37d92fcd3d (patch) | |
tree | 2c40ee56df57d51684266e0bfbcfcc551ee3f71f | |
parent | 1e12910bfde9f2af99336137835eebceed290f14 (diff) | |
download | scintilla-mirror-d4c844dc5f7e57a622db077c544eed37d92fcd3d.tar.gz |
Added code page 1361 Korean Johab to IsDBCSLeadByte.
-rw-r--r-- | src/Document.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index a58be8a0d..a5907f97f 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -591,12 +591,17 @@ bool SCI_METHOD Document::IsDBCSLeadByte(char ch) const { // GBK return (uch >= 0x81) && (uch <= 0xFE); case 949: - // Korean EUC-KR - // There is also a code page 1361 for Korean Johab which appears to not be widely supported + // Korean Wansung KS C-5601-1987 return (uch >= 0x81) && (uch <= 0xFE); case 950: // Big5 return (uch >= 0x81) && (uch <= 0xFE); + case 1361: + // Korean Johab KS C-5601-1992 + return + ((uch >= 0x84) && (uch <= 0xD3)) || + ((uch >= 0xD8) && (uch <= 0xDE)) || + ((uch >= 0xE0) && (uch <= 0xF9)); } return false; } |