email.charsets trouble
Giorgos Keramidas
keramida at ceid.upatras.gr
Mon Dec 1 10:16:22 UTC 2008
On Mon, 1 Dec 2008 11:11:12 +0100, Christian Ebert <blacktrash at gmx.net> wrote:
> I believe this is because your server runs in utf-8 locale.
>
> So, there are the following bugs:
>
> 1) documentation (hgrc 5): an ui.encoding setting doesn't exist
> 2) ui.fallbackencoding is not consulted
> (but probably should be over util._fallbackencoding)
>
> atm, only $HGENCODING (util._encoding derived from locale) and
> util._fallbackencoding tried for _input_.
>
> I will try to fix this and find a better way of chosing an input
> charset -- hopefully without breaking other stuff (is it save eg.
> to select web.encoding? etc.)
>
> For the moment you could fix this eg. by setting
>
> os.environ["HGENCODING"] = "iso-8859-7"
Something related to this is probably the main problem, but the
hgwebdir.cgi is already running in "iso-8859-7" mode.
I'll try setting ui.encoding too :)
> Sorry about this, but the use case of notifications from a repo "run"
> in a charset that differs from locale did not come to my mind.
No problem. We have just switched to notify.changegroup emails for
now. They seem less `spammy' when I push a bunch of changesets into the
integration tree :)
More information about the Mercurial
mailing list