ok..after some searching..
escape(charString)
The escape method returns a string value (in Unicode format) that contains the contents of charstring. All spaces, punctuation, accented characters, and any other non-ASCII characters are replaced with %xx encoding, where xx is equivalent to the hexadecimal number representing the character. For example, a space is returned as "%20."
Characters with a value greater than 255 are stored using the %uxxxx format.
Note The escape method should not be used to encode Uniform Resource Identifiers (URI). Use encodeURI and encodeURIComponent methods instead.
encodeURI(URIString)
The encodeURI method returns an encoded URI. If you pass the result to decodeURI, the original string is returned. The encodeURI method does not encode the following characters: ":", "/", ";", and "?". Use encodeURIComponent to encode these characters.
encodeURIComponent(encodedURIString)
The encodeURIComponent method returns an encoded URI. If you pass the result to decodeURIComponent, the original string is returned. Because the encodeURIComponent method encodes all characters, be careful if the string represents a path such as /folder1/folder2/default.html. The slash characters will be encoded and will not be valid if sent as a request to a web server. Use the encodeURI method if the string contains more than a single URI component.
----------------------------------------------------------------------------
I have done some experiments:
let say you want to convert the filename "測試" into "%E6%B8%AC%E8%A9%A6", which can then be used by the RAWR-player
content = %link-url%
case 1:
if the option "Encode non-ASCII characters" is switched on
%link-url% == "%E6%B8%AC%E8%A9%A6"
if you escape(content), it becomes "%25E6%25B8%25AC%25E8%25A9%25A6".
if you encodeURI(content), it also becomes "%25E6%25B8%25AC%25E8%25A9%25A6".
in both case, "%" is converted into "%25",
for the mp3 player, it still works.
but for the divx player, seems like it doesn't?
case 2:
if the option "Encode non-ASCII characters" is swtiched off
%link-url% == "測試"
if you escape(content), it becomes "%u6E2C%u8A66", so it doesn't work.
but if you encodeURI(content), it becomes "%E6%B8%AC%E8%A9%A6", so it works.
Since %link-name% always == "測試" no matter the option is on or off,
so, in my opinion, using %link-name% & encodeURI is better than using %link-url% & escape for Chinese characters.