rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Fink rdiff-backup 1.1.0 problems


From: Ben Escoto
Subject: Re: [rdiff-backup-users] Fink rdiff-backup 1.1.0 problems
Date: Thu, 27 Oct 2005 02:33:01 -0500

>>>>> Kevin Horton <address@hidden>
>>>>> wrote the following on Wed, 26 Oct 2005 21:07:04 -0400

Could you tell me what the rdiff-backup-data/chars_to_quote file is
when:

1) You make a repository from scratch with the most recent version
2) For older versions, if you have any repository laying around

> Processing changed file CD for M&D/Updates/iTunes 4.7/Read Before You  
> Install iTunes.app/Contents/Resources/ko.lproj/iTunes ??? 
> ?????? ????? ?????????.rtf
...
> OSError: [Errno 63] File name too long: '/Volumes/Ext_BU/Users/kwh/ 
> rdiffbu_v1_1_0/CD for M&D/Updates/iTunes 4.7/Read Before You Install  
> iTunes.app/Contents/Resources/ko.lproj/iTunes ; 
> 225;132;137;225;133;165;225;134;175;225;132;142;225;133;181;225;132;146; 
> 225;133;161;225;132;128;225;133;181 ; 
> 225;132;140;225;133;165;225;134;171;225;132;139;225;133;166 ; 
> 225;132;139;225;133;181;225;134;176;225;132;139;225;133;165;225;132;135; 
> 225;133;169;225;132;128;225;133;181.rtf'

What is this M&D/Updates/.../iTunes_____________.rtf file?  Are there
really a lot of weird characters in it?  After a little manual
translating they look possibly Japanese to me :)

Try this patch to fs_abilities.py:

diff -u -r1.22 fs_abilities.py
--- fs_abilities.py     26 Oct 2005 17:42:17 -0000      1.22
+++ fs_abilities.py     27 Oct 2005 07:30:52 -0000
@@ -199,7 +199,8 @@
                assert ord_rp.lstat()
                ord_rp.delete()
 
-               extended_filename = ':\\' + chr(175)
+               # Try a UTF-8 encoded character
+               extended_filename = ':\\ ' + chr(225) + chr(132) + chr(137)
                try:
                        ext_rp = subdir.append(extended_filename)
                        ext_rp.touch()


BTW after reading a little bit about unicode I realize that some of
what I was saying earlier may not have made any sense.  I suppose to
do all this stuff theoretically right rdiff-backup needs to become
unicode aware, and also needs to test the filesystem to see what kind
of unicode encoding is supported.  But I think we can put that off for
a while.


-- 
Ben Escoto

Attachment: pgpJohKYaic1k.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]