changeset 2328:0441508735f4

be kind with windows
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Jul 2017 16:15:02 +0200
parents eedcddb42767
children 55c900a5b0e4
files Resources/EncodingTests.h Resources/EncodingTests.py
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/EncodingTests.h	Fri Jul 14 16:00:16 2017 +0200
+++ b/Resources/EncodingTests.h	Fri Jul 14 16:15:02 2017 +0200
@@ -59,5 +59,5 @@
   "\xd0\xa2\xd0\xb0\xd0\xb7",
   "\xd0\x9f\xd1\x80\xd1\x8f\xd0\xbc\xd0\xb0\xd1\x8f"
 };
-static const char *toUpperSource = "\x67\x72\xc3\xbc\xc3\x9f\x45\x4e\x20\x53\xc3\xa9\x62\x61\x73\x54\x49\x65\x6e\x20\x54\x65\x73\x74\xc3\xa9\xc3\xa4\xc3\xb6\xc3\xb2\xd0\x94\xce\x98\xc4\x9d\xd7\x93\xd8\xb5\xc4\xb7\xd1\x9b\xe0\xb9\x9b\xef\xbe\x88\xc4\xb0";
-static const char *toUpperResult = "\x47\x52\xc3\x9c\xc3\x9f\x45\x4e\x20\x53\xc3\x89\x42\x41\x53\x54\x49\x45\x4e\x20\x54\x45\x53\x54\xc3\x89\xc3\x84\xc3\x96\xc3\x92\xd0\x94\xce\x98\xc4\x9c\xd7\x93\xd8\xb5\xc4\xb6\xd0\x8b\xe0\xb9\x9b\xef\xbe\x88\xc4\xb0";
+static const char *toUpperSource = "\x67\x72\xc3\xbc\xc3\x9f\x45\x4e\x20\x53\xc3\xa9\x62\x61\x73\x54\x49\x65\x6e\x20\xc3\xa4\xc3\xb6\xc3\xb2\xd0\x94\xce\x98";
+static const char *toUpperResult = "\x47\x52\xc3\x9c\xc3\x9f\x45\x4e\x20\x53\xc3\x89\x42\x41\x53\x54\x49\x45\x4e\x20\xc3\x84\xc3\x96\xc3\x92\xd0\x94\xce\x98";
--- a/Resources/EncodingTests.py	Fri Jul 14 16:00:16 2017 +0200
+++ b/Resources/EncodingTests.py	Fri Jul 14 16:15:02 2017 +0200
@@ -75,6 +75,6 @@
 
 
 
-u = (u'grüßEN SébasTIen %s' % source)
+u = (u'grüßEN SébasTIen äöòДΘ')
 print 'static const char *toUpperSource = %s;' % ToArray(u.encode('utf-8'))
 print 'static const char *toUpperResult = %s;' % ToArray(u.upper().encode('utf-8'))