Tet's see following ,
I use your scipts to generate the iTunes XML,
for thinese MP3 stored in chinese path and file name, all tags information are coded in codepoint type,
so does the file path.
[ Traditional Chinese file and chinese path --Generated by DC's scripts]
Name</key><string>一言難盡</string>
<key>Artist</key><string>迪克牛仔</string>
<key>Album Artist</key><string>1998年度國語總冠軍</string>
<key>Album</key><string>1998年度國語總冠軍</string>
<key>Location</key><string>
file://localhost/E:/Data/Select%20Music/MP3%20128K/%u570B%u8A9E%u6D41%u884C/1998%u5E74%u5EA6%u570B%u8A9E%u7E3D%u51A0%u8ECD/1998%u5E74%u5EA6%u570B%u8A9E%u7E3D%u51A0%u8ECD/%u4E00%u8A00%u96E3%u76E1.mp3</string>
.......................
And if I generated the XML by using iTunes base on same filea and path (also in chinese naming),
the XML looks like following, we can see from the path , it should be coded in UTF8 instead of codepoint.
[ Chinese file and chinese path --Generated by native iTunes Library process]
<key>Track ID</key><integer>194</integer>
<key>Name</key><string>一言難盡</string>
<key>Artist</key><string>迪克牛仔</string>
<key>Album Artist</key><string>1998年度國語總冠軍</string>
<key>Album</key><string>1998年度國語總冠軍</string>
<key>Location</key><string>
file://localhost/E:/Data/Select%20Music/MP3%20128K/%E5%9C%8B%E8%AA%9E%E6%B5%81%E8%A1%8C/1998%E5%B9%B4%E5%BA%A6%E5%9C%8B%E8%AA%9E%E7%B8%BD%E5%86%A0%E8%BB%8D/1998%E5%B9%B4%E5%BA%A6%E5%9C%8B%E8%AA%9E%E7%B8%BD%E5%86%A0%E8%BB%8D/%E4%B8%80%E8%A8%80%E9%9B%A3%E7%9B%A1.mp3</string>
By the way , if I choose a English file with Chinese path, and generate XML by DC's scripts,
it looks like this:
[ Englisj file and chinese path --Generated by DC's Scripts],
the song is ABBA's Mamma Mia,
<key>Track ID</key><integer>5</integer>
<key>Name</key><string>Mamma Mia [1975]</string>
<key>Artist</key><string>ABBA</string>
<key>Composer</key><string>Anni-Frid Lyngstad; Benny Andersson; Björn Ulvaeus; Stig Anderson</string>
<key>Album Artist</key><string>ABBA</string>
<key>Album</key><string>Gold: Greatest Hits</string> <key>Kind</key><string>MPEG audio file</string>
<key>Size</key><integer>3438811</integer>
<key>Genre</key><string>西洋流行</string>
<key>Total Time</key><integer>213577</integer>
<key>Track Number</key><integer>4</integer>
<key>Rating</key><integer>100</integer>
<key>Year</key><integer>1992</integer>
<key>Date Modified</key><date>2010-08-30T18:45:03</date>
<key>Date Added</key><date>2010-10-08T00:31:49</date>
<key>Bit Rate</key><integer>128</integer>
<key>Sample Rate</key><integer>44100</integer>
<key>Track Type</key><string>File</string>
<key>File Folder Count</key><integer>-1</integer>
<key>Library Folder Count</key><integer>-1</integer>
<key>Location</key><string>
file://localhost/E:/西洋/ABBA/Gold-%20Greatest%20Hits/Mamma%20Mia%20%5B1975%5D.mp3</string>
</dict>
Attach the Chinese (Traditional Taiwan format) for your reference if needed,
http://www.mediafire.com/?ulesbwg6h5l5555
You scripts is great, especially for me, I personally hate iTunes, it can not read Flac and other file types,
If I can bypass it and generate XML in your great scripts, used by other application( include Flac, I actually test it and it works),
that's fantastic ,
but it's a pity, encounter Asian character issues.
Sincerely