Melloware wrote:OK my responses to your bug report:
1. This has been corrected in 18.104.22.168 and will be in milliseconds.
2. I am using the java File.toURI().toURL() method which always returns files in that format. The Javadoc for File.toURI says that the output of this is platform dependent.
It turns out that using "file:/" instead of "file:///" might not be wrong after all. However, non-ascii characters should still be encoded as UTF-8 and %-escaped propery, i.e. no accented characters should appear in the final URL. I am not familiar with Java at all, but after readinghttp://java.sun.com/j2se/1.4.2/docs/api ... t/URI.html
it seems to me that using File.toURI().toASCIIString() might do this. Could you please try it?
3. I actually found it is a bug in Java decoding the ă properly in URLs.
Sorry, I was not very clear about this. This is a separate issue from URL encoding. The ă character appeared in the metadata for a song. To reproduce the problem, do the following:
1. Insert the ă character into the title of a song using Jukes.
2. Export a playlist containing that song to XSPF.
3. Check the resulting file with a text editor: The character should have been encoded to UTF-8 as 0xC4, 0x83, but it was written as 0xC4, 0x3F, which is not valid UTF-8, therefore most text editors will try to display the file as Latin-1.
I tried this on WinXP, JRE 6 update 2.