I found an article on 2011-02-10 may be relevant:
"
IE browser, using URLEncoder encodingOpera browser, using filename * waySafari browser, using the ISO encoding the Chinese outputChrome browser, using Base64 encoding or ISO encoded Chinese outputFireFox browser, using Base64 or filename * or ISO encoding Chinese output
new_filename = URLEncoder.encode (filename, "UTF8");/ / If no UA default be encoded using IE, because, after all, IE is still the majorityrtn = "filename = \" "new_filename" \ "";if (userAgent! = null){ userAgent = userAgent.toLowerCase (); / / IE browser only with URLEncoder coding the if (userAgent.indexOf (msie) = -1) { rtn = "filename = \" "new_filename" \ ""; } / / Opera browser can only use the filename * else if (userAgent.indexOf ("opera")! = -1) { rtn = "filename * = UTF-8''" new_filename; } / / Safari browser, can only use the ISO code of the Chinese output else if (userAgent.indexOf ("Safari")! = -1) { rtn = "filename = \" "new String (filename.getBytes (" UTF-8 ")," ISO8859-1 ")" \ ""; } / / Chrome browser, Chinese output can only use MimeUtility encoding or ISO code else if (userAgent.indexOf ("applewebkit")! = -1) { new_filename = MimeUtility.encodeText (filename, "UTF8", "B"); rtn = "filename = \" "new_filename" \ ""; } / / Firefox browser, you can use MimeUtility or filename * or ISO encoding Chinese output else if (userAgent.indexOf ("Mozilla")! = -1) { rtn = "filename * = UTF-8''" new_filename; } }
But I've no idea how to do in Tersus..
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign