diff options
author | Neil <nyamatongwe@gmail.com> | 2013-06-29 20:33:54 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-06-29 20:33:54 +1000 |
commit | 4f2107e926254fdda3d93e195c9e472068da0876 (patch) | |
tree | 73b2f785bf217682638bc66372cbbb7dd2c1355c /test/lexTests.py | |
parent | 1a05a259558efd7dffb118ca9b12257a1346d2ea (diff) | |
download | scintilla-mirror-4f2107e926254fdda3d93e195c9e472068da0876.tar.gz |
Bug: [#1483]. Added a test for UTF-8 labels in Lua that would fail without fix.
Diffstat (limited to 'test/lexTests.py')
-rw-r--r-- | test/lexTests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lexTests.py b/test/lexTests.py index 3c5ccc147..5c14bafc6 100644 --- a/test/lexTests.py +++ b/test/lexTests.py @@ -39,6 +39,7 @@ class TestLexers(unittest.TestCase): def LexExample(self, name, lexerName, keywords=None): if keywords is None: keywords = [] + self.ed.SetCodePage(65001) self.ed.LexerLanguage = lexerName bits = self.ed.StyleBitsNeeded mask = 2 << bits - 1 |