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 &quot;another string quotes&quot;"> <param name="baz" value="using both double quotes: &quot &amp; single quotes &#39;, literal 文字 characters"> 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -