[Svnmerge] Unicode in log messages

Raman Gupta rocketraman at fastmail.fm
Thu Oct 8 06:16:20 PDT 2009


Benson Margulies wrote:
> My analysis of the python code is different. It is assuming that the log
> contains UTF-8, and then it is insisting on converting it to 'the
> current locale' before letting you edit it. If the current locale isn't
> UTF-8, and it probably isn't, you lose.

I believe this is incorrect. It uses the encoding returned by
sys.stdout.encoding (which should also be the encoding svn uses to
output the log, unless you have log-encoding set in the svn config).

Where do you see the code assuming UTF-8?

Cheers,
Raman


More information about the Svnmerge mailing list