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

Re: encoding problem (utf-8)

From: Saulius Grazulis <grazulis_at_akl.lt>
Date: 2005-08-12 09:19:04 CEST

Hi,

On Thursday 11 August 2005 12:29, Schläpfer Andreas wrote:

> svn import -m "initial import" Test/ file:///projects/TestRepo
>
> svn: Valid UTF-8 data
> (hex: 40)
> followed by invalid UTF-8 sequence
> (hex: d4 06 08 a0)
>
> My locale is "de_DE.UTF-8" and the language is correctly set (according to
> locale). For testing I created a new directory containing one text file

I had such problems in two cases:

1) if my WC was checked out in one locale and then attempted to update in
another (remedy -- set locale to the same where the WC was checked out for
the fors time, o r check out a fresh WC)

2) when some libraries Subversion uses were compiled with unicode support, and
some without (but I do not remember which). Recompilation of all libs and
subversion itself healed the problem instantly in Gentoo. For SuSE,
recompilation is surely much more hassle, but you may want to check what are
the compilations flags of their libraries.

> When I test my files with the convmv-script for utf-8 it tells me they are
> (There is no reason why they shouldnt be utf-8).

Epps. So you do have UTF-8 chars in your filenames, dont you? Maybe somewhere
in the path? This could be a problem

-- 
Saulius Gražulis
VisuomeninÄ— organizacija "Atviras Kodas Lietuvai"
P.Vileišio g. 18
LT-10306 Vilnius
Lietuva (Lithuania)
tel/fax:      (+370-5)-210 40 05
mobilus:      (+370-684)-49802, (+370-614)-36366

  • application/pgp-signature attachment: stored
Received on Fri Aug 12 09:34:29 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.