#248077 - 30/01/2005 21:10
Re: trouble with iTunes - copying data, desktop to laptop
[Re: DWallach]
|
carpal tunnel
Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
|
Quote: Oooh, here's some more fun. On my Mac, here's how an e with an accute accent shows up in the XML for the file name:
Ste%CC%81phane%20Grappelli
Here's the same thing from the XML on a PC:
St%C3%A9phane%20Grappelli
What's going on here? Is this some bastard disagreement about Unicode character interpretation or what?
Oh dear. You've copped for a normalisation problem. Basically, there are two ways in Unicode of representing e-acute: you can either use the e-acute character, which is what your PC has done (this is called NFC, for "normal form, composed"), or you can use an e followed by a combining acute accent, which is what your Mac has done (this is called NFD, for "normal form, decomposed"). Both are then represented in UTF-8, and then URL-escaped.
The Macintosh filesystem canonicalises filenames to NFD, whereas Windows canonicalises to NFC. Both have their advantages: NFD can represent more characters (x-acute, say, which doesn't exist as a single character), but NFC makes UI code a lot simpler as it doesn't have to compose the characters at render time.
Quote: maybe Samba is smart enough to translate between these things.
Looks that way, yes.
Peter
|
Top
|
|
|
|
trouble with iTunes - copying data, desktop to laptop
|
DWallach
|
30/01/2005 13:50
|
Re: trouble with iTunes - copying data, desktop to laptop
|
peter
|
30/01/2005 14:13
|
Re: trouble with iTunes - copying data, desktop to laptop
|
Roger
|
30/01/2005 14:30
|
Re: trouble with iTunes - copying data, desktop to laptop
|
DWallach
|
30/01/2005 15:15
|
Re: trouble with iTunes - copying data, desktop to laptop
|
DWallach
|
30/01/2005 19:35
|
Re: trouble with iTunes - copying data, desktop to laptop
|
andy
|
30/01/2005 20:14
|
Re: trouble with iTunes - copying data, desktop to laptop
|
DWallach
|
30/01/2005 20:45
|
Re: trouble with iTunes - copying data, desktop to laptop
|
andy
|
30/01/2005 21:01
|
Re: trouble with iTunes - copying data, desktop to laptop
|
peter
|
30/01/2005 21:10
|
Re: trouble with iTunes - copying data, desktop to laptop
|
andy
|
30/01/2005 21:14
|
Re: trouble with iTunes - copying data, desktop to laptop
|
peter
|
30/01/2005 21:16
|
Re: trouble with iTunes - copying data, desktop to laptop
|
DWallach
|
30/01/2005 21:28
|
Re: trouble with iTunes - copying data, desktop to laptop
|
peter
|
30/01/2005 21:46
|
Re: trouble with iTunes - copying data, desktop to laptop
|
DWallach
|
01/02/2005 13:40
|
Re: trouble with iTunes - copying data, desktop to laptop
|
tanstaafl.
|
01/02/2005 00:38
|
Re: trouble with iTunes - copying data, desktop to laptop
|
Roger
|
01/02/2005 07:40
|
Re: trouble with iTunes - copying data, desktop to laptop
|
andy
|
01/02/2005 09:35
|
Re: trouble with iTunes - copying data, desktop to laptop
|
mlord
|
01/02/2005 12:42
|
|
|
|