You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jakob EKlund <ma...@koalas.dk> on 2005/01/25 15:10:23 UTC
Language settings (SWE to EN)
I'm new to SVN so this might be a really stupid question.
Is there some way tochange the language on the SVN error messages, becaus
they are in swedish and all non english characters are replaced with
nubers like this:
Fel vid verifiering av servercertifikat f?\195?\182r
"https://prophet.telge.kth.se:443":
I understand swedish but the "?\195" stuff is really irritating.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Language settings (SWE to EN)
Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Fri, 28 Jan 2005, Johan Appelgren wrote:
> On Wed, 26 Jan 2005 16:48:35 +0100, Jakob EKlund <ma...@koalas.dk> wrote:
> > I don't know why It worked but I folowed you tip.
> > Not only did it give me english, it also made other things work that
> > didn't work before.
>
> Just noticed why svn did not show characters like åäö correctly on my
> client computer. I had failed to set the environment variable
> APR_ICONV_PATH to <path to subversion>\iconv. That's what you get for
> not using the installer I guess ;)
>
OK, so that's the reason. I think this question has been asked and
answered more than once before:-) This might be a good addition for the
FAQ.
If you want, you could send a patch for
http://svn.collab.net/repos/svn/trunk/www/faq.thml
(Ofcourse, it is OK if you don't for some reason!)
Best Regards,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Language settings (SWE to EN)
Posted by Johan Appelgren <jo...@gmail.com>.
On Wed, 26 Jan 2005 16:48:35 +0100, Jakob EKlund <ma...@koalas.dk> wrote:
> I don't know why It worked but I folowed you tip.
> Not only did it give me english, it also made other things work that
> didn't work before.
Just noticed why svn did not show characters like åäö correctly on my
client computer. I had failed to set the environment variable
APR_ICONV_PATH to <path to subversion>\iconv. That's what you get for
not using the installer I guess ;)
/Johan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Language settings (SWE to EN)
Posted by Johan Appelgren <jo...@gmail.com>.
On Tue, 25 Jan 2005 16:10:23 +0100, Jakob EKlund <ma...@koalas.dk> wrote:
> I'm new to SVN so this might be a really stupid question.
>
> Is there some way tochange the language on the SVN error messages, becaus
> they are in swedish and all non english characters are replaced with
> nubers like this:
>
> Fel vid verifiering av servercertifikat f?\195?\182r
> "https://prophet.telge.kth.se:443":
>
> I understand swedish but the "?\195" stuff is really irritating.
I don't know if there's a better way to do this, but I just renamed
the "<path to subversion>\share\locale\sv" folder to something else.
This caused svn to revert to english.
/Johan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Language settings (SWE to EN)
Posted by Christopher Ness <ch...@nesser.org>.
On Tue, 2005-25-01 at 16:10 +0100, Jakob EKlund wrote:
> I'm new to SVN so this might be a really stupid question.
>
> Is there some way tochange the language on the SVN error messages, becaus
> they are in swedish and all non english characters are replaced with
> nubers like this:
>
> Fel vid verifiering av servercertifikat f?\195?\182r
> "https://prophet.telge.kth.se:443":
>
> I understand swedish but the "?\195" stuff is really irritating.
What does the $LANG environment variable say?
$ echo $LANG
I modified mine (see your shell, but bash uses `export`) to Swedish to
test and it seems fine. I normally run svn with a Canadian English LANG
environment variable set (en_CA.UTF-8).
[nesscg@heidrun ~]$ echo $LANG
sv_SE.UTF-8
[nesscg@heidrun ~]$ svn revert
revert: Återställ fil i en arbetskopia (ångra de flesta lokala
ändringar).
användning: revert PATH...
Anmärkning: Detta underkommando kräver ingen nätverksåtkomst och
löser konflikttillstånd. Dock återställs inte borttagna kataloger.
Giltiga flaggor:
--targets arg : använd innehållet i filen ARG som
ytterligare
argument
-R [--recursive] : gå ned rekursivt
-q [--quiet] : visa så lite information som möjligt
--config-dir arg : läs användarens konfigurationsfiler från
katalogen
ARG
Cheers,
Chris
--
Software Engineering IV,
McMaster University
PGP Public Key: http://www.nesser.org/pgp-key/
10:17:40 up 2:10, 3 users, load average: 0.74, 0.59, 0.57
http://www.fsf.org/philosophy/no-word-attachments.html
Re: Language settings (SWE to EN)
Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Tue, 25 Jan 2005, Ulrich Eckhardt wrote:
> Jakob EKlund wrote:
> > Is there some way tochange the language on the SVN error messages, becaus
> > they are in swedish and all non english characters are replaced with
> > nubers like this:
> >
> > Fel vid verifiering av servercertifikat f?\195?\182r
> > "https://prophet.telge.kth.se:443":
> >
> > I understand swedish but the "?\195" stuff is really irritating.
>
> There are several ways to change that, but it depends on your environment/OS.
> The above seems like SVN tried to output a UTF-8 sequence but you shell
> didn't understand it. It therefore just wrote the byte-value of each part of
> the sequence which is where the 195 and 182 come from.
No, this si subversion's way of saying that it can't translate the UTF-8
to the encoding used in the current locale. So libiconv is probably not
set up correctly. If you use non-ASCII characters in filenames, you'll
have the same problems.
Don't ask me, though, how to set this correctly on WinXP:-)
Regards,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Language settings (SWE to EN)
Posted by Jakob EKlund <ma...@koalas.dk>.
I'm using WinXP Home at the moment
Den 2005-01-25 16:34:26 skrev Ulrich Eckhardt <ec...@satorlaser.com>:
> Still, how to do that depends on your system.
>
> Uli
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Language settings (SWE to EN)
Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
Jakob EKlund wrote:
> Is there some way tochange the language on the SVN error messages, becaus
> they are in swedish and all non english characters are replaced with
> nubers like this:
>
> Fel vid verifiering av servercertifikat f?\195?\182r
> "https://prophet.telge.kth.se:443":
>
> I understand swedish but the "?\195" stuff is really irritating.
There are several ways to change that, but it depends on your environment/OS.
The above seems like SVN tried to output a UTF-8 sequence but you shell
didn't understand it. It therefore just wrote the byte-value of each part of
the sequence which is where the 195 and 182 come from.
Now, what you can do is configure the locale to understand UTF-8 or you could
switch the language to neutral so SVN uses english messages and plain ASCII.
Still, how to do that depends on your system.
Uli
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org