-----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