Subject: Developers of Sympa
List archive
Re: [sympa-dev] Charset/encoding for e-mail message
- From: Hatuka*nezumi - IKEDA Soji <address@concealed>
- To: Olivier Salaün - CRU <address@concealed>
- Cc: address@concealed
- Subject: Re: [sympa-dev] Charset/encoding for e-mail message
- Date: Thu, 26 Oct 2006 18:10:21 +0900
On Thu, 19 Oct 2006 17:49:13 +0200
Olivier Salaün - CRU <address@concealed> wrote:
> > (c) Following seem to be coumpound of another factors; they are
> > encoded by charset got by gettext("_charset_") then interpreted
> > as ISO-8859-1:
> >
> > Web:
> > - Language names in language box.
> > - Dropdown box of "digest" parameter.
> > - Perhaps anywhere strftime()'ed date appear.
> > INFO Service message:
> > - Days of Digest.
:
> I'll try to find out what is causing this...
I got it about strftime().
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?)
--- nezumi
-
Re: [sympa-dev] Charset/encoding for e-mail message,
Hatuka*nezumi - IKEDA Soji, 10/15/2006
-
Re: [sympa-dev] Charset/encoding for e-mail message,
Olivier Salaün - CRU, 10/18/2006
-
Re: [sympa-dev] Charset/encoding for e-mail message,
Hatuka*nezumi - IKEDA Soji, 10/19/2006
-
Re: [sympa-dev] Charset/encoding for e-mail message,
Olivier Salaün - CRU, 10/19/2006
-
Re: [sympa-dev] Charset/encoding for e-mail message,
Hatuka*nezumi - IKEDA Soji, 10/20/2006
- Re: [sympa-dev] Charset/encoding for e-mail message, Olivier Salaün - CRU, 10/27/2006
- Re: [sympa-dev] Charset/encoding for e-mail message, Hatuka*nezumi - IKEDA Soji, 10/26/2006
-
Re: [sympa-dev] Charset/encoding for e-mail message,
Hatuka*nezumi - IKEDA Soji, 10/20/2006
-
Re: [sympa-dev] language names (was Charset/encoding for e-mail message),
Olivier Salaün - CRU, 10/20/2006
-
Re: [sympa-translation] Re: [sympa-dev] language names (was Charset/encoding for e-mail message),
Hatuka*nezumi - IKEDA Soji, 10/26/2006
- Re: [sympa-translation] Re: [sympa-dev] language names (was Charset/encoding for e-mail message), Olivier Salaün - CRU, 10/27/2006
-
Re: [sympa-translation] Re: [sympa-dev] language names (was Charset/encoding for e-mail message),
Hatuka*nezumi - IKEDA Soji, 10/26/2006
-
Re: [sympa-dev] Charset/encoding for e-mail message,
Olivier Salaün - CRU, 10/19/2006
-
Re: [sympa-dev] Charset/encoding for e-mail message,
Sylvain Amrani, 10/20/2006
- Re: [sympa-dev] Charset/encoding for e-mail message, Hatuka*nezumi - IKEDA Soji, 10/21/2006
-
Re: [sympa-dev] Charset/encoding for e-mail message,
Hatuka*nezumi - IKEDA Soji, 10/19/2006
-
Re: [sympa-dev] Charset/encoding for e-mail message,
Olivier Salaün - CRU, 10/18/2006
Archive powered by MHonArc 2.6.19+.