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

Re: [Issue 983] Changed - cvs2svn.py: Non-ASCII characters garbled

From: Volker Goetz <goetz_at_sectionone.de>
Date: 2002-11-14 17:15:43 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Am Mittwoch, 13. November 2002 09:05 schrieb Michael Wood:
> On Tue, Nov 12, 2002 at 07:31:11PM -0000, issues@subversion.tigris.org
wrote:
> > http://subversion.tigris.org/issues/show_bug.cgi?id=983
>
> [snip]
>
> > + ------- Additional Comments From kfogel@tigris.org 2002-11-12 11:31
> > PST ------- + Putting in Post-1.0, since that's where issue #514 is.
>
> ummm... issue #514 might be in Post-1.0, but the last comment on that
> issue is this:
>
> ------- Additional Comments From Greg Stein 2001-11-09 15:52 PST -------
>
> Hard requirement for beta (so people can convert repositories and test
> against them). Better to have for alpha.

I agree. Many of the potential subversion users have existing CVS
repositories they don't want to just import but to convert in order to
preserve the history of changes. So do I.

I frequently use non-ASCII characters (german Umlauts) for log messages; so
there's no way of getting rid of CVS.

I just looked around in the source code of the python script. It seems as
if the log message strings are internally handled by the script as unicode
objects, using utf-16 as encoding. (un)forutnately the lower 256 codepints
of utf-16 are almost identical to latin-1 character set (iso-8859-1).

I'm in no way familiar with python. I managed to identify the two lines
where the false strings are inserted into the svn filesystem, but I was
not able to convert the unicode string/object to an utf-8 encoded string.

Volker Götz

- ---------------------------------------------------------------
section(one Mail goetz@sectionone.de
Dipl.-Inform. Univ. Web http://www.sectionone.de/
Volker Götz Tel. 0931/61 94 94-0
Unterer Weg 26 Fax 0931/61 94 94-15
97084 Würzburg PGP 4FEB1C34 @ wwwkeys.de.pgp.net
- ---------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE908wvWM9gHU/rHDQRAsSTAKCah9roXLUbrEdYYiNZUZktfGnVagCfQ6Uy
0FAD6U8f1CT9VA/AX9ch+tc=
=T/UB
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 14 17:16:29 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.