diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/DBCS.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/DBCS.h b/src/DBCS.h index ff3f9f22f..58659ee3e 100644 --- a/src/DBCS.h +++ b/src/DBCS.h @@ -10,6 +10,14 @@ namespace Scintilla { +constexpr bool IsDBCSCodePage(int codePage) noexcept { + return codePage == 932 + || codePage == 936 + || codePage == 949 + || codePage == 950 + || codePage == 1361; +} + bool DBCSIsLeadByte(int codePage, char ch) noexcept; } |