[Grok-dev] Tests, Unicode and Fileencoding
Jan Ulrich Hasecke
janulrich.hasecke at web.de
Sat Nov 17 09:56:20 EST 2007
Hi,
starting to use tests while developing my app, I discovered that you
can only use unicode strings in tests, when you specified the file
encoding of the testfile.
So my zoo.txt starts with:
------snip----------
# -*- coding: utf-8 -*-
=========================
The Online Game GrokZoo
=========================
(...)
-----snap-----------
Is that the intended behaviour?
What is the default encoding /bin/test expects? ASCII? So why ASCII?
Wouldn't utf-8 be better, since we claim to have unicode everywhere
in Zope?
juh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Signierter Teil der Nachricht
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20071117/97e24016/PGP.bin
More information about the Grok-dev
mailing list