Download files with unicode names

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Download files with unicode names

Postby _Anton_ » Sun Nov 22, 2009 12:45 am

I try to use this system with cyrilic names of albums and groups. I have some problem as: http://forum.subsonic.org/forum/viewtopic.php?t=1424

In filenames using ASCII charset, but RFC 2047 describes a mechanism to use another encodings with ASCII charset.

Way to convert filenames:
add javax.mail library (or another with implemented class MimeUtility)
use MimeUtility.encodeText(filename, charset, encoding) to encoding text

For example in DownloadController.java:182 add line zipFileName = MimeUtility.encodeText(zipFileName, "UTF-8", "B");

Sorry for my english (8
_Anton_
 
Posts: 3
Joined: Sat Nov 21, 2009 11:55 pm

Return to Feature Requests

Who is online

Users browsing this forum: Bing [Bot] and 2 guests