See below for Javascript unicode conversion thing. Works in Internet Exploiter 5.00.3502.1000
select it, choose my script from the scripts menu, and it turns into
小 泉 純 一 郎 & #23567; & #27849; & #32020; & #19968; & #37070;
Which is what you can paste into the Wikipedia edit window. I'm using a Mac, so this is a mac only solution, but I thought I'd share it for those of you who can use it. Here's the script:
____ begin script _____
____end script ____
compile this in ScriptEditor, and save it in the "Style Scripts folder in the same folder where the Style application lives. I have mine saved as "Append Unicoded HTML". Thereafter it will appear in Style's Scripts menu.
Style is available at merzwaren (http://www.merzwaren.com) ($20 shareware). I have this running on Mac OS X 10.2.1 with Style version 1.9.2
Enjoy !
Olof
Here's a Unicode to &#number; thing I wrote ages ago, can't remember why:
<html><head><title>Unicode conversion</title><body #000000><font color=#ffffff><form name=a>Type here, and all characters with a code greater than 127 will be converted to &#1234; codes.<br><br>Input:<br> <textarea name=intxt cols=80 rows=25 onKeyUp="revtxt()">Sorry, this page is useless with Javascript disabled.</textarea><br><br>Output:<br><textarea name=outxt cols=80 rows=25>Sorry, this page is useless with JavaScript disabled.</textarea><script language="Javascript"> document.a.intxt.value=""; document.a.outxt.value="Don't type here."; function revtxt(){ var s=document.a.intxt.value; o=""; for(m=0;s.charAt(m);++m)if((c=s.charCodeAt(m))<128&&c!=38) o+=s.charAt(m); else if(c==38) o+="&"; else o+="&#"+c+";"; document.a.outxt.value=o; } </script></form><br><br><br><br><br>This page written by Cyp.</font></html>
Copy to text file, rename as something
كسيپ Cyp 10:14 7 Jun 2003 (UTC)
Search Encyclopedia
|
Featured Article
|