[FIX] HtmlEntity valueOfHtmlEntity: '#50557'
S.T.R.I.C.K ย
strick at yak.net
Tue Apr 23 16:40:08 UTC 2002
This fix to HtmlEntity prevents throwing exceptions on numeric entities greater than 255 -- it makes them return nil, like non-numeric entities do.
To Reproduce: start the squeak WebBrowser on http://www.yak.net/ --
the korean, russian, and thai characters way at the bottom of the page
are represented this way. Or just doit: on the subject of this message.
e.g.
This used to throw exception:
HtmlEntity valueOfHtmlEntity: '#50557'
and with the fix, it just returns nil.
(#50557 is Korean Hangul YAK)
FIX IS AT:
http://i.yak.net/twiki/bin/view/Fnord/FixSqueakHtmlEntity
(* is there anything more than mailing to this list that I should do? *)
thanks,
strick (YAK)
More information about the Squeak-dev
mailing list
|