Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Netscape Javascript Problem



Thre is a problem with Simon's annotate script: the window does not properly
display Japanese, there are only questionsmarks were the Japanese should be
when the Character set is set to Japanese.

>            print <<EOF
>    <A HREF="javascript:" onMouseOver='
>        mywin = window.open("","","width=200,height=200");
>
mywin.document.write("$cset<B>Word</B>:$kanji<P><B>Root</B>:$deinflected<P><
B>Reading</B>: $yomi<P><B>Part of Speech</B>: $pos");
>        mywin.document.close();
>    '
>    onMouseOut='mywin.window.close(); return true;'>
>$kanji</A>
>EOF

My current suspicion is that the document.write function does not write
Japanese properly. Is this right, and is there a solution?

Uli



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links