[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN log character encoding.

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-09-12 00:50:26 CEST

Leandro Lucarella wrote:

>Hi! I'm using svn and I'm a spanish speaker. I've noticed that when I
>put "extended" characters in muy commit messages, they are not stored in
>the right way (or not diplayed well with svn log). I'm using ISO-8859-1
>(editing with vim the messages) and tried UTF8 without success.
>What encoding is svn using? How can I make my "extendended" characters
>(á,é,í,ó,ú,ü,ñ,etc) stored (or displayed) in the right way?
>
>(please Cc me since I'm not subscribed to the list).
>

Subversion converts the log messages to UTF-8 before storing them in the
repository, and back to the local encoding for display. If your log
messages aren't being converted correctly, you can do one of two things:

    * Make sure your locale setting correctly identifies the encoding
      you're using (e.g., in your case it might be
      LC_ALL=es_AR.ISO8859-1); or,
    * Use the --message-encoding option; e.g., --message-encoding=ISO8859-1

Of course, you should also make sure that libiconv is available on your
system. By the way, what system are you using?

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 12 00:51:08 2002

This is an archived mail posted to the Subversion Dev mailing list.