Thanks a lot! This work correctly in the deployed version. I made a tiny test here: writing a module: https://www.mediawiki.org/wiki/Module:StringLength using a module: https://www.mediawiki.org/wiki/User:Amire80/Scribunto
-- Amir 2013/2/16 Chad <[email protected]>: > On Sat, Feb 16, 2013 at 12:06 AM, Amir E. Aharoni > <[email protected]> wrote: >> Is there any way to handle Unicode strings in the version that is >> going to be deployed? For example, things like getting the length of >> the string "François" as 8 rather than 9? >> >> If not, is there any plan to have this ability any time soon? >> > > Yes, a library has been written for Scribunto called "ustring" to > handle unicode. We've actually got docs for this (and a couple > of other libraries) available on mw.org[0]. > > -Chad > > [0] https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
