strlen bug with RTL languages?
-
I was playing around with a plugin for an RTL language website. If I use RTL text in the glossary term, it messes up the page quite badly. I figured it relates to the length of the glossary term, and from there to the
gt_get_len
method. I saw that you’re using a check if the text is RTL and then applymb_strlen
without encoding. I’m not a PHP or unicode expert, but I thinkstrlen
should do the job without having to check for RTL? e.g. see https://stackoverflow.com/a/12046233
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘strlen bug with RTL languages?’ is closed to new replies.