[Checkins] SVN: zc.sourcefactory/trunk/src/zc/sourcefactory/browser/token.txt using umlauts again (unicode escape notation tricks distutils' encoding errors)

Michael Howitz mh at gocept.com
Thu Aug 28 04:52:08 EDT 2008


Log message for revision 90522:
  using umlauts again (unicode escape notation tricks distutils' encoding errors)
  

Changed:
  U   zc.sourcefactory/trunk/src/zc/sourcefactory/browser/token.txt

-=-
Modified: zc.sourcefactory/trunk/src/zc/sourcefactory/browser/token.txt
===================================================================
--- zc.sourcefactory/trunk/src/zc/sourcefactory/browser/token.txt	2008-08-28 08:37:35 UTC (rev 90521)
+++ zc.sourcefactory/trunk/src/zc/sourcefactory/browser/token.txt	2008-08-28 08:52:07 UTC (rev 90522)
@@ -17,9 +17,12 @@
 Unicode
 =======
 
+  Argh, I have to write the umlauts as unicode escapes otherwise
+  distutils will have a encoding error in preparing upload to pypi:
+
   >>> zc.sourcefactory.browser.token.fromUnicode(
-  ...     u'somestring with strange chars #*&_;)')
-  'f33b8a6b56403c9d560e2ef772336798'
+  ...     u'somestring with umlauts \u00F6\u00E4\u00FC')
+  '45dadc304e0d6ae7f4864368bad74951'
 
 Integer
 =======



More information about the Checkins mailing list