[PATCH 1 of 6] decode and encode text in UTF-8
Matt Mackall
mpm at selenic.com
Mon Nov 13 00:06:58 UTC 2006
On Mon, Nov 13, 2006 at 12:49:24AM +0700, Andrey wrote:
> # HG changeset patch
> # User Andrey <grooz at gorodok.net>
> # Date 1163269770 -21600
> # Node ID 69bafd28ba10981bfc4cb2648a48aad2545fbe70
> # Parent adbf440a81e07f82f5cb1de61ab2931fe920a80b
> decode and encode text in UTF-8
>
> diff -r adbf440a81e0 -r 69bafd28ba10 mercurial/changelog.py
> --- a/mercurial/changelog.py Thu Nov 09 14:44:17 2006 -0800
> +++ b/mercurial/changelog.py Sun Nov 12 00:29:30 2006 +0600
> @@ -9,6 +9,8 @@ from i18n import gettext as _
> from i18n import gettext as _
> from demandload import demandload
> demandload(globals(), "os time util")
> +
> +CHANGELOG_ENCODING='UTF-8'
Just hardcode it. It's the only sensible encoding.
But this is in entirely the wrong place anyway. It should be in util.py.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list