Hi Neil. I don't know much about this, but you will need to ensure you are delivering your page as UTF8 in order for the characters to be interpreted correctly.
http://www.w3.org/International/O-charset <http://www.w3.org/International/O-charset>you might also want to look into a url encoding / decoding algorithm like this: http://www.webtoolkit.info/javascript-url-decode-encode.html which will turn your path into: file://c:/swfobject/%E4%B8%AD%E6%96%87/test.swf Cheers, Aran <http://www.webtoolkit.info/javascript-url-decode-encode.html> On Mon, Aug 23, 2010 at 3:47 AM, Neil <[email protected]> wrote: > I want to embed a swf which is put in a folder with a Chinese name > like: > > swfobject.embedSWF("file://c:/swfobject/中文/test.swf", "myContent", > "300", "120", "9.0.0", "expressInstall.swf"); > > Unfortunately this does not work. I tried to url encode the path and > there seems to be no luck. So is there a way to achieve this? Thank > you very much. > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<swfobject%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
