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

Re: Cyrrilic letters in log messages are obfuscated by command line tools

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-05-10 17:59:05 CEST

Todor Totev wrote:

>
> Hello all,
> I have problems with cyrillic letters in commit logs.
> I'm using Subversion 1.1.4. The server runs under Windows 2003 as
> standalone server and clients are TortoiseSVN.
>
> svnlook (and svn) returns string containing decimal code of every byte
> in the message encoded in utf-8 instead of the actual bytes of the
> message.
>
> The attached files contain the actual message and its representation
> from the command line tools.
> The actual message is shown in tortoise.jpg - notice the revision 417
> and that its log message starts with
> small cyrillic letter P.
> The output from the svnlook is shown in cmdline.jpg - it starts with
> the codes \?208\?191 which is exactly the utf-8 encoded small
> cyrillic letter p.

It seems to me that Windows is set up for an English-speaking
environment, so the character set that's being used does not contain
cyrillic letters. This isn't a problem for Tortoise, because it uses
Unicode to print the messages. The command-line client can't do that, it
uses whatever encoding the DOS box is set up for.

> Unfortunatelly this

So "this", in this context, isn't Subversion's problem.

> breaks our post-commit hook which allows integration with Trac.

But I'm not sure you'd want to feed non-UTF strings into Trac, either.
Unfortunately, svnlook doesn't have an option to write out the logs in
UTF-8...

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 10 18:04:24 2005

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.