help-gnu-emacs
[Top][All Lists]
Advanced

[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 15:20:29 +0200

> From: Rasmus <address@hidden>
> Date: Sat, 21 Mar 2015 13:48:38 +0100
> 
> Eli Zaretskii <address@hidden> writes:
> 
> >> From: Rasmus <address@hidden>
> >> Date: Sat, 21 Mar 2015 12:37:39 +0100
> >> 
> >> > (setq system-time-locale "da_DK.UTF-8")
> >> 
> >> Thanks that works.  Is this Unix specific or would it also work in
> >> Windows?
> >
> > It works for Windows, but the locale names are different on Windows,
> > and UTF-8 is not supported as the locale's encoding.
> 
> Is there a OS-agnostic way to change a locale?

Not sure what you are asking here.  You cannot even change a locale on
a Unix system without knowing that the locale is installed on that
system; not all the locales are.

So no, AFAIK there's no way of changing the locale without knowing
something about the system on which you do that, and without adapting
the locale to that system.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]