Why would you use a ridiculous page like this one to convert non-ASCII characters to HTML entities when a totally sweet bookmarklet is available?
(encodes all characters above 127 to HTML entities in every <input type=text> and <textarea> on the current page.)


James
I\’m having trouble getting this to work in Firebird (latest), is this supported?
steve
jh - Glad you like it!
James - I haven\’t tested it on Firebird. I\’ve tried it on Mozilla 1.2 (PC and Mac) and IE 5.5 (also PC and Mac). I\’ll try Firebird tonight and see what happens.
steve
Works for me in Firebird 0.6. (about says \”Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6\”)
name
á
Jonathon Delacour
Worked perfectly for me in Firebird 0.6.1 (Windows XP)
Steve, you mentioned in the comment you left on my site that you use the bookmarklet to post weblog entries with Chinese characters and whenever you post comments on other people\’s sites and are not sure their systems can handle the characters directly.
I\’d be interested in your response to Michael Glaesemann\’s comment in which he argues that it\’s better to use characters rather than entities:
http://weblog.delacour.net/archives/2003/10/there_aint_no_such_thing_as_plain_text.php#comment3016
I would also have thought that whether or not the characters are handled properly depends on whether CJK support has been enabled, not that the characters have been replaced by entities. (But I hasten to admit that, like Manuel in Fawlty Towers: \”I know nothing!\”)
Pablo Perez Benitez
Good, but I need a simpler bookmarklet to turn “<” and “>” into entities, so I can easily post code snippets.
Pleae leave a comment!