[Checkins] SVN: zopyx.smartprintng.client/trunk/zopyx/smartprintng/client/zip_client.py encoding issues
Andreas Jung
andreas at andreas-jung.com
Sun Jul 19 05:17:34 EDT 2009
Log message for revision 102002:
encoding issues
Changed:
U zopyx.smartprintng.client/trunk/zopyx/smartprintng/client/zip_client.py
-=-
Modified: zopyx.smartprintng.client/trunk/zopyx/smartprintng/client/zip_client.py
===================================================================
--- zopyx.smartprintng.client/trunk/zopyx/smartprintng/client/zip_client.py 2009-07-19 09:14:57 UTC (rev 102001)
+++ zopyx.smartprintng.client/trunk/zopyx/smartprintng/client/zip_client.py 2009-07-19 09:17:34 UTC (rev 102002)
@@ -1,3 +1,5 @@
+# *-* coding: iso-8859-15 *-*
+
##########################################################################
# zopyx.smartprintng.client - client library for the SmartPrintNG server
# (C) 2009, ZOPYX Ltd & Co. KG, Tuebingen, Germany
@@ -87,6 +89,6 @@
print proxy.convertZIPEmail(sys.argv[1],
sender='foo at bar.org',
recipients='foo at bar.org',
- subject='üöä',
- body=u'üöä')
+ subject=unicode('üöä', 'latin1').encode('utf-8'),
+ body=unicode('üöä', 'latin1').encode('utf-8'))
More information about the Checkins
mailing list