Subject: Developers of Sympa
List archive
[sympa-dev] Re: strftime and encoding (was Charset/encoding for e-mail message)
- From: Olivier Salaün - CRU <address@concealed>
- To: Hatuka*nezumi - IKEDA Soji <address@concealed>
- Cc: address@concealed
- Subject: [sympa-dev] Re: strftime and encoding (was Charset/encoding for e-mail message)
- Date: Fri, 03 Nov 2006 16:14:11 +0100
Hatuka*nezumi - IKEDA Soji wrote:
I got it about strftime().We've applied the sympa-MAIN-20061103-strftime.patch patch you proposed, except for the part that concerns xgettext.pl.
strftime() accepts/returns a string encoded by charset that is
determined by current system locale. So (also, preferred formats
of date/time depend on locale) ---
POSIX::strftime(FORMAT, TIME)
may be replaced with:
Encode::decode(gettext("_charset_"),
POSIX::strftime(Encode::encode(gettext("_charset_"),
gettext(FORMAT)),
TIME))
(I assume gettext("_charset_") designates the equivalent one of
$locale2charset{...}. Is it right?)
Could you please present what is the goal of the patch for xgettext.pl ?
Thanks.
-
[sympa-dev] Re: strftime and encoding (was Charset/encoding for e-mail message),
Olivier Salaün - CRU, 11/03/2006
- [sympa-dev] Re: strftime and encoding (was Charset/encoding for e-mail message), Hatuka*nezumi - IKEDA Soji, 11/03/2006
Archive powered by MHonArc 2.6.19+.