Closed (fixed)
Project:
G2 Glossary
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2006 at 19:45 UTC
Updated:
29 Sep 2006 at 06:45 UTC
codes like this dosen't support UTF-8 multibyte characters
for ($i = 0 ; $i < strlen($rawalphabar) ; $i++)
{
.....
}
Comments
Comment #1
fgmThis seems likely. What do you suggest to fix it ?
Comment #2
Lebowski commentedThe code at line 131 should be like this:
Comment #3
fgmFix included in 1.15.2.9. I did a variant on your suggestion, though:
drupal_substr($rawalphabar,$i,1)in a variable to avoid a double call to a heavy function you added: themes can add it if wanted, but I don't consider HTML belongs in a link arrayComment #4
(not verified) commented