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

Re: SVN log charset

From: Stepan Kalichkin <step_at_tdisie.nsc.ru>
Date: 2004-06-28 12:00:48 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

В сообщении от Monday 28 June 2004 16:45 Dimitri Papadopoulos-Orfanos
написал(a):
> Hi,
>
> > Sometimes I use no latin (koi8-r) charset for my log messages.
> > For mail notification I use post-commit hook and commit-email.pl script.
> > But it dosn't send true charset. I see the mail like this:
> > [...]
> > But strange stuff if I do it directly:
> > [...]
> > I get a good mail with truth koi8-r log message.
> > Does anybody know is it a bug?
>
> Maybe your interactive shell defines environment variables LANG or
> LC_TYPE, while they're not defined when running commit-email.pl as a
> post-commit hook. The commit-email script can't guess the charset by
> itself.
>
> One way to define the charset could be setting LANG. There may other
> ways, I really don't know.
>
> Dimitri
Thank you that's idea. LANG and LC_TYPE realy not defined when post-commit
hook is runing. I've add export LANG=ru_RU.KOI8-R in my post-commit and log
in mail ok now.
-----BEGIN PGP SIGNATURE-----

iD8DBQFA3+xQ8hI96vlF15gRAlQvAJ9nrMqPySw6rXAvYIf4l+U/d3H79QCgh4yp
ucHmveGbWyRMPEMBbL+a0W0=
=Fl/S
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 28 12:03:17 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.