From: Katsumi Yamaoka <yamaoka@jpl.org>
To: info-gnus-english@gnu.org
Subject: Re: troubles after have changed locale ISO-8859-15 to utf8
Date: Mon, 10 Dec 2007 20:03:00 +0900 [thread overview]
Message-ID: <b4mbq8ystgb.fsf@jpl.org> (raw)
In-Reply-To: <f4fefeae-69c0-44ba-a9f1-29a3a8ce29e6@e10g2000prf.googlegroups.com>
>>>>> francois.lagarde@gmail.com wrote:
> I think that I have still some problems with my locales. When I enter
> a folder name (interactive prompt i.e: keyboard) accents are fine, but
> when I use the format-time-string command to generate the month to
> where the mails has to be copied, the created folder doesn't have
> correct accents.
This might be due to `locale-coding-system'. I learned right
now that the value has to be the same as the one that the locale
uses and it might not be automatically set properly.
> that's really complicated... I think that it was a bad idea to switch
> to UTF8...
>>>>> You wrote in the beginning of the thread:
> When I send mails, I keep a copy of the message in a file in a folder
> given by:
> (concat "nnml:gposted."
> (format-time-string "%Y")
> ".news-"
> (format-time-string "%m-%B-%Y"))
How about changing it into the following?
(let ((system-time-locale "fr_FR.utf8")
(locale-coding-system 'utf-8))
(format-time-string "nnml:gposted.%Y.news-%m-%B-%Y"))
The locale name "fr_FR.utf8" might need to be modified according
to your system, or binding of `system-time-locale' might be
needless. Anyway, try evaluating such forms in the *scratch*
buffer (type `C-j' at the end of the last line). I got:
"nnml:gposted.2007.news-12-décembre-2007"
next prev parent reply other threads:[~2007-12-10 11:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-01 11:16 francois.lagarde
2007-11-02 8:13 ` Katsumi Yamaoka
2007-12-07 9:40 ` francois.lagarde
2007-12-10 11:03 ` Katsumi Yamaoka [this message]
2007-12-11 10:08 ` francois.lagarde
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=b4mbq8ystgb.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=info-gnus-english@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).