https://bugzilla.wikimedia.org/show_bug.cgi?id=39646

       Web browser: ---
             Bug #: 39646
           Summary: Scribunto needs sane Unicode string support
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Scribunto
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Scribunto's built-in string module works with bytestrings. So if you have
something like "string.len('hüllo')", it will return 6. If you have something
like "string.reverse('hüllo')", it will return "oll��h".

This is fine for a programming language, I guess, but particularly for a case
like Scribunto (where template programmers are being targeted and there's
Unicode everywhere), sane Unicode string handling _must_ come with the
extension.

Victor Vasiliev has done some work on this already, I'm told, as a ustring
module. There's a C part and a Lua part. I've no idea where the code is, but
I'm told it's publicly available somewhere.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to