Bug #3222
keyword index doesn't work with unicode (2byte) letters
| Status: | New | Start date: | 2009-05-01 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Wiki Rendering | Spent time: | - | |
| Target version: | dr_wiki 1.x | Estimated time: | 1.00 hour | |
| Votes: | 0 |
Description
Keyword index generation doesn't work because we need to use mb_substr instead substr.
I have created patch but my PHP even worse than English, so better to use not check if (mb_check_encoding($str,'UTF-8')) but set here site encoding mb_substr(mb_strtoupper($str, "utf-8"),0,1,'utf-8');
Please fix ASAP also category index and other places where used such a substring.
Associated revisions
[Bug 3222] Model the "additional attendees" as a 1:n relation from registrations to FE users, r=niels