Steps to reproduce: 1) Open http://lleo.aha.ru/dnevnik/2008/10/13.html 2) Click on one of the blue asterisks in text (not the first one, though). Results: An alert appears. It contains many U+FFFD replacement characters. Works in Firefox. The code is: <a href='javascript:alert("<cyrillic letters>\n<more cyrillic letters>")'>*</a> Document charset is windows-1251.
Created attachment 24999 [details] proposed fix
Comment on attachment 24999 [details] proposed fix r=me
Committed revision 38243.