[Zope] TranslationService and charsets... (reply to myself)

Gilles Lenfant gilles at pilotsystems.net
Wed Oct 1 06:09:00 EDT 2003

----- Original Message ----- 
From: "Gilles Lenfant" <gilles at pilotsystems.net>
To: <zope at zope.org>
Sent: Tuesday, September 30, 2003 10:26 PM
Subject: [Zope] TranslationService and charsets...

> Hi zopistas...
> I can translate a message with...
> translated = context.translation_service.translate('mydomain', message)
> But how can I get the charset of the translated message, as the various
> languages from the associated MessageCatalog may have different charsets
> (ASCII, ISOxxx,...).
> Many thanks in advance for any hint.
> --Gilles

Found the stuff...

It seems to return Unicode whatever's the MessageCatalog charset...


More information about the Zope mailing list