Dear Everyone:
I am using a Power Mac G5 machine, and there is a "Windows Media
Player 9 Series" (WMP9) that came with the machine.
When I visit some website, the WMP9 automatically starts to work if
there is a sound file ending with "wma" at the webpage.
However, sometimes, a page may contain foreign characters---which
could be Chinese characters for example---in the path and/or file
names, and in such a case, the WMP9 does not start. Instead, a small
window pops up with the message: "Cannot open the file. Verify that
the path and filename are correct and try again."
How could I resolve/circumvent this problem?
Thank you for reading and replying!
--Roland
Neil Smith [MVP Digital Media] - 15 Mar 2008 21:57 GMT
>Dear Everyone:
>
[quoted text clipped - 11 lines]
>
>How could I resolve/circumvent this problem?
I'm not sure you (personally) can - it's the webmasters responsibility
to handle character encoding correctly. A typical flow for accessing a
media file would be : Browser reads HTM content; Browser interprets
URLs (web addresses) according to the page encoding; Browser passes
converted URL to application - in this case WMP, which attempts to
open the URL it's passed as-is.
If the page sending the content is not correctly handled by the
browser, then WMP will be passed a dud URL and won't be able to handle
it.
These documents indicate typical ways that international character set
data can be passed around in URLs, and as you can see, it's the
webmasters job to ensure the URLs are properly encoded for which every
character set their web page declares :
http://www.w3.org/International/O-URL-code.html
http://www.blooberry.com/indexdot/html/topics/urlencoding.htm
http://www.rfc-editor.org/rfc/rfc1738.txt
HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2008
http://mvp.support.microsoft.com/mvpfaqs