all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: how to change language of format-date-string
Date: Sat, 21 Mar 2015 15:20:29 +0200	[thread overview]
Message-ID: <83d242trky.fsf@gnu.org> (raw)
In-Reply-To: <87oanmwm6x.fsf@gmx.us>

> From: Rasmus <rasmus@gmx.us>
> Date: Sat, 21 Mar 2015 13:48:38 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: Rasmus <rasmus@gmx.us>
> >> 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	other threads:[~2015-03-21 13:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-21  1:50 how to change language of format-date-string Rasmus
2015-03-21  8:21 ` Philipp Stephani
2015-03-21 11:37   ` Rasmus
2015-03-21 12:30     ` Eli Zaretskii
2015-03-21 12:48       ` Rasmus
2015-03-21 13:20         ` Eli Zaretskii [this message]
2015-03-21 15:47     ` Eli Zaretskii
2015-03-21 15:54       ` Rasmus
2015-03-21 16:47         ` Eli Zaretskii
     [not found]       ` <mailman.2458.1426953287.31049.help-gnu-emacs@gnu.org>
2015-03-21 19:12         ` Emanuel Berg
2015-03-21  8:36 ` Eli Zaretskii
     [not found] ` <mailman.2436.1426926072.31049.help-gnu-emacs@gnu.org>
2015-03-21 19:52   ` Emanuel Berg
     [not found] <mailman.2427.1426902650.31049.help-gnu-emacs@gnu.org>
2015-03-21  2:41 ` Emanuel Berg
2015-03-21  2:48   ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83d242trky.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.