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

Re: Encoding of .svn/entries?

From: Denis N. Antonioli <denis.antonioli_at_canoo.com>
Date: 2006-08-16 15:31:21 CEST

On 16 août 06, at 15:21, Malcolm Rowe wrote:

> On Wed, Aug 16, 2006 at 02:43:48PM +0200, Denis N. Antonioli wrote:
>>>>>> I've found out that the file .svn/entries is not encoded in
>>>>>> utf-8,
>>>>>> although that is what the xml header says, but in the platform's
>>>>>> encoding.
>>>>>> This is at least the case on my system (Mac OS X 10.4).
>>>>>>
>> check it out to <test>/sandbox and add to it a file with an accent
>> (café).
>> At the end, the script dumps the <test>/sandbox/.svn/entries:
>>
>> 2f 3e 0a 3c 65 6e 74 72 79 0a 20 20 20 63 6f 6d |/>.<entry. com|
>> 6d 69 74 74 65 64 2d 72 65 76 3d 22 31 22 0a 20 |mitted-rev="1". |
>> 20 20 6e 61 6d 65 3d 22 63 61 66 c3 a9 22 0a 20 | name="café". |
>> 20 20 74 65 78 74 2d 74 69 6d 65 3d 22 32 30 30 | text-time="200|
>>
>
> '63 61 66 c3 a9' is 'café' in UTF-8. What's the problem?
>
> Regards,
> Malcolm

Oops :-(

My apologies for the senseless noise!

        dna

-- 
Computer Science is nothing more than the study of patterns of 0s and 1s
   -- Donald Knuth
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 16 15:43:21 2006

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.