From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: UTF-8 character encoding in SVN log messages
Date: Thu, 04 Feb 2010 08:26:53 +1100 [thread overview]
Message-ID: <87636enh7m.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: 4b696d97$0$270$14726298@news.sunsite.dk
Thomas Arildsen <tha.es-aau-dk@spamgourmet.com> writes:
> On Thu, 10 Dec 2009 23:02:50 +0100, Peter Dyballa wrote:
>
>> Am 10.12.2009 um 14:24 schrieb Thomas Arildsen:
>>
>>> Can I in some way configure Emacs/Subversion to open the log message
>>> buffer to be saved with utf-8 encoding by default? For example by a
>>> command line parameter to emacsclient?
>>
>>
>> The latter does not work, which you can check by invoking emacsclient
>> with --help. The former might work with
>>
>> (prefer-coding-system 'utf-8-unix)
>>
>> in your init file. Environment variables like LC_CTYPE set to an UTF-8
>> value should provoke the preferred use of UTF-8. Except you have set
>> some non-UTF-8 language or whatever environment...
>>
>
> Thanks, your suggestion seems to have solved the issue.
>
> Thomas Arildsen
FYI From memory, there is a config setting you can put in your
~/.subversion/config file that also sets the encoding used in change
logs. Normally, this would (I think( default to what the setting is on
the local system i.e. LANG= and LC_* etc. However, if this is set to
something like iso8859-1 and you set/force emacs to use UTF-8, you may
get unwanted/unnecessary conversions that could lead to mixed encoding
in the file (especially if you sometimes use other tools with svn).
Tim
--
tcross (at) rapttech dot com dot au
prev parent reply other threads:[~2010-02-03 21:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-10 13:24 UTF-8 character encoding in SVN log messages Thomas Arildsen
2009-12-10 22:02 ` Peter Dyballa
[not found] ` <mailman.12715.1260482580.2239.help-gnu-emacs@gnu.org>
2010-02-03 12:35 ` Thomas Arildsen
2010-02-03 21:26 ` Tim X [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87636enh7m.fsf@lion.rapttech.com.au \
--to=timx@nospam.dev.null \
--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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).