[Resolved] Fix the litespeed forums charset bug

Status
Not open for further replies.

wanah

Well-Known Member
#1
Hello,

Whenever I submit de post with utf8 characters when I click Submit New Thread it is published with my post cut off at the first utf8 character.

I have to click the back button in my browser copy my post, go back to the forum, click edit the post and paste my post removing any utf8 characters and if I miss one I have to restart this procedure until it's fixed.

I don't know if this is a utf8 database issue or some sort of modsecurity rule but it is a huge pain.

I've mentionned this issue in other topics but never got a direct answer about this specific issue.

Could someone plus look into this issue and see what can be done to fix it ?
 
Last edited by a moderator:

NiteWave

Administrator
#2
thanks for push ... I think we'll try to resolve it now. In fact I have experienced similar case which is a double-byte character but have thought that's the rare case. apparently it's quite a common issue.
 

wanah

Well-Known Member
#3
In english there aren't many double byte characters for Windows or linux users that are accessible on the keyboard. However on Mac OS there are quite a few that lots of people use quite often.

For example there is the ellipsis that mot PC users represent with ... but mac users tend to use alt + . to write (U+2026 or & hellip;). In languages other than english there are alot of characters that cause problems and people with spell check in their native language might find some worlds replaced automaticaly like for instance the letters oe in French are supposed tobe joined (& #339)

I've added spaces after the &'s so I can save this post.
 

NiteWave

Administrator
#4
it looks direct input is ok, see below:
test: to input "& # 339" (delete space in it)
Code:
aaa---œ---aaa

…

   …

“video/mp4

French

Œ, œ, and the very rare Ÿ

Czech

Č, č, Ř, ř, Š, š, Ž, ž

…


œœœœœœ
the issue occur when you try to quote other's words --- all words will be lost after the special character in [ QUOTE ] part
"[ QUOTE ]" -- added space in it.
 
Last edited by a moderator:

wanah

Well-Known Member
#5
Yes I guess if you replace characters with the htmlencoded value that the forum accepts them, but if you make the mistake of posting a single value that isn't html encoded it won't work.

Test direct input (if you see nothing after this line then it hasn't worked) :


œ

Accents still don't work. (i with an accent, a with an accent)
 
Last edited:

NiteWave

Administrator
#6
Accents still don't work. (i with an accent, a with an accent)
yes, reproduced just now.
good news is, almost found the solution, tested on another vBulletin installation

vBulletin:
AdminCP > Languages & Phrases > Language Manager
> Edit Settings
HTML Character Set : ISO-8859-1 ==> UTF-8

I think may apply for this forum soon
 
Last edited:
Status
Not open for further replies.
Top