Closed (fixed)
Project:
Taxonomy Manager
Version:
6.x-1.0-beta2
Component:
User interface
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2009 at 21:54 UTC
Updated:
30 Jul 2009 at 14:20 UTC
It seems that some UTF-8 strings are handled incorrectly. See attached screenshot. It has no effect on data integrity but looks ugly.
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy-manager-utf-bug.png | 9.08 KB | 1fotograf.ru |
Comments
Comment #1
mh86 commentedI can see the problems in the attached screenshot, but I can't find any letter to reproduce this problem. Don't know why the string was handled incorrect in your case. The term name is just checked with check_plain. So no ideas here
Comment #2
mh86 commentedI finally found a term with this problem, so I was able to fix this issue.
The problem was caused by doing a check_plain, then using substr, which might break UTF-8 strings. replaced this with drupal_substr and doing check_plain at the end.