[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to change language of format-date-string
From: |
Eli Zaretskii |
Subject: |
Re: how to change language of format-date-string |
Date: |
Sat, 21 Mar 2015 17:47:08 +0200 |
> From: Rasmus <rasmus@gmx.us>
> Date: Sat, 21 Mar 2015 12:37:39 +0100
>
> Philipp Stephani <p.stephani2@gmail.com> writes:
>
> > If you only want to change the language for format-time-string, use the
> > system-time-locale variable:
> >
> > (setq system-time-locale "da_DK.UTF-8")
>
> Thanks that works.
If you set system-time-locale alone, without also setting
locale-coding-system to the same encoding as specified by
system-time-locale, you will get garbled strings (unless you _know_
that the encoding of both locales is the same, which in practice can
only be true if they use UTF-8).
Re: how to change language of format-date-string, Eli Zaretskii, 2015/03/21
Message not available