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

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

Re: [rdiff-backup-users] What filename characters does Mac OS X support?


From: Ben Escoto
Subject: Re: [rdiff-backup-users] What filename characters does Mac OS X support?
Date: Mon, 24 Oct 2005 23:29:03 -0500

>>>>> Alastair Rankine <address@hidden>
>>>>> wrote the following on Sun, 23 Oct 2005 15:56:53 +1000
> 
> Ben, I don't know what you mean by "translate [unicode characters] to  
> ascii"? This just isn't possible, but perhaps you mean translate  
> these characters to UTF-8 (ie char * in C)? In which case you should  
> look at the "encode" python string methods, and/or the libiconv C  
> library.

Well I was just hoping to remain ignorant of unicode.  Regardless of
what the unicode descriptions of the files are, if the files can be
processed with standard unix functions like open(char *, int) then
their filenames get represented as a collection of bytes (which I
improperly called ascii).

So I was hoping to deal with filenames just as byte arrays, and not
worry what they represent and if they are unicode or whatever.


-- 
Ben Escoto

Attachment: pgp7ziz8XzmRM.pgp
Description: PGP signature


reply via email to

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