aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/lexTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lexTests.py')
-rw-r--r--test/lexTests.py1
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