[Zope-dev] Possible 2.8b2 bug part 3:

Andreas Jung lists at andreas-jung.com
Mon May 23 14:34:27 EDT 2005



--On Montag, 23. Mai 2005 20:22 Uhr +0200 Lennart Regebro 
<regebro at gmail.com> wrote:
>
> The translation tools will typically return unicode, and bam! it stops
> working. So, if we can't properly support unicode, I'd actually prefer
> that we cast the format string to string, perhaps with a deprecated
> warning if we pass unicode?
>

A deprecation warning could do the job. To be honest I would have never 
thought about
such a usecase :-) However we could convert unicode to utf8 and use this as 
argument
for strftime() and converting the result back to unicode.

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20050523/58ecabd0/attachment.bin


More information about the Zope-Dev mailing list