What kind of escaping for java applet parameters? -
suppose want embed arbitrary characters in applet parameter tag. might chinese. might string embedder single or double quotes
i've found no statement how should done.
<param name='foo' value='this \"a string quotes\"'>
would first guess, seems not enough.
the strings defined in param
tag interpreted browser , passed on java runtime. java not modify them in way.
so param
tag obeys standard rules html: in attributes, can use character valid in html attributes; escaping them, can use standard html entities:
<param name="foo" value='this "a string quotes"'> <param name="bar" value="this "another string quotes""> <param name="baz" value="using both double quotes: " & single quotes ', literal 文字 characters">
Comments
Post a Comment