Mercurial > hg > orthanc
diff Resources/EncodingTests.py @ 2326:423d3b692bb9
Upgrade to Boost 1.64.0, and Toolbox::ToUpperCaseWithAccents
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 14 Jul 2017 15:53:04 +0200 |
parents | 60cc0ee61edb |
children | 0441508735f4 |
line wrap: on
line diff
--- a/Resources/EncodingTests.py Fri Jul 14 11:43:06 2017 +0200 +++ b/Resources/EncodingTests.py Fri Jul 14 15:53:04 2017 +0200 @@ -72,3 +72,9 @@ for i in range(len(expected)): print expected[i] #print '%s: %s' % (expected[i], l[i]) + + + +u = (u'grüßEN SébasTIen %s' % source) +print 'static const char *toUpperSource = %s;' % ToArray(u.encode('utf-8')) +print 'static const char *toUpperResult = %s;' % ToArray(u.upper().encode('utf-8'))