Nikola Smolenski wrote:
Anyway, here is one small bugfix, which I haven't
submitted before. Difference
engine sometimes inserts ISO-8859-1 non-breaking space in the output which on
UTF-8 wikis appear as a square or question mark in some browsers (for
example, see
http://sr.wikipedia.org/w/wiki.phtml?title=%D0%A1%D1%80%D0%BF%D1%81%D0%BA%D…
). It changes the ISO NBSP into the entity which is seen properly regardless
of the site's encoding.
Ah, thanks!
I've committed and installed a slight variation: I used the numeric
  rather than since seems to be problematic in pure
XHTML mode in some browsers (Safari at least). (Only a few of the named
character entities are actually defined by raw XML.) It won't make a
difference on the Wikimedia installations since we're using the
text/html mode.
-- brion vibber (brion @
pobox.com)