mw.text.encode does not encode correctly unbreakable spaces.
example : mw.text.encode( mw.ustring.char( 160 ) ) returns '&#nbsp;' instead of ' '
This comes from line 35 of in [mediawiki/extensions/Scribunto.git] / engines / LuaCommon / lualib / mw.text.lua, where there is a '#' that should not be there.
Version: unspecified
Severity: normal