Issue with truncated text and Unicode
Odd little issue I noticed today. Whenever I post an addon update, I always post a comment with the latest changes. Today after posting patch updates, I posted a couple of translation updates with the following comments:
Quote:
Quote:
On my addon author list, at the bottom where it shows recent comments on my addons, those comments are being truncated, but the function doing the truncating is apparently not Unicode-aware, and the text is getting cut mid-Chinese glyph, resulting in the following displayed text: Quote:
Quote:
Granted, this is an English-language site and I don't expect you guys to go out of your way to support Chinese or anything. I just thought it was pretty funny to look at my recent comments and see half of a Face of Disapproval lurking there. :p |
Oh fun, thanks for pointing that out. I'll take a look where I'm truncating it. Might be a bit if a challenge if its the vbulletin backend doing the unicode stuff after. :)
|
On a possibly related note, sometimes when I edit my addon descriptions, non-Latin characters are displayed normally in the edit box (eg. 中) but other times they're displayed as HTML entities (eg. & # 20013 ; without all the spaces).
Any idea why this is? Generally the only non-Latin text in there are localized language names, and occasionally a localized one-line description, but I'd rather see the actual characters than a big blob of HTML entities. :p |
All times are GMT -6. The time now is 12:30 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI