1 // Scintilla source code edit control
3 ** Functions to handle DBCS double byte encodings like Shift-JIS.
5 // Copyright 2017 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
11 namespace Scintilla::Internal
{
13 constexpr bool IsDBCSCodePage(int codePage
) noexcept
{
14 return codePage
== 932
21 bool DBCSIsLeadByte(int codePage
, char ch
) noexcept
;
22 bool IsDBCSValidSingleByte(int codePage
, int ch
) noexcept
;