Mercurial > hg > orthanc
comparison Resources/EncodingTests.py @ 2329:55c900a5b0e4
revert
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 14 Jul 2017 16:17:02 +0200 |
parents | 0441508735f4 |
children |
comparison
equal
deleted
inserted
replaced
2328:0441508735f4 | 2329:55c900a5b0e4 |
---|---|
73 print expected[i] | 73 print expected[i] |
74 #print '%s: %s' % (expected[i], l[i]) | 74 #print '%s: %s' % (expected[i], l[i]) |
75 | 75 |
76 | 76 |
77 | 77 |
78 u = (u'grüßEN SébasTIen äöòДΘ') | 78 u = (u'grüßEN SébasTIen %s' % source) |
79 print 'static const char *toUpperSource = %s;' % ToArray(u.encode('utf-8')) | 79 print 'static const char *toUpperSource = %s;' % ToArray(u.encode('utf-8')) |
80 print 'static const char *toUpperResult = %s;' % ToArray(u.upper().encode('utf-8')) | 80 print 'static const char *toUpperResult = %s;' % ToArray(u.upper().encode('utf-8')) |