Announcement

Collapse
No announcement yet.

Special Characters Display as Codes in Posts and Post Titles

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • enivid
    replied
    It appears to be the same issue. It was helped by commenting out a condition on lines 3423-3425 of class_core.php with:
    PHP Code:
            if (($matches[3] >= 32 AND $matches[3] <= 126)
                
    /*OR
                ($matches[3] >= 160 AND $matches[3] <= 255)*/

    Leave a comment:


  • Mark.B
    replied
    This was fixed in 3.8.7 so if you're having issues in 3.8.8 it is potentially a different problem.

    Please start your own thread with full details of the issue.

    Leave a comment:


  • enivid
    replied
    Any idea how to fix this for version 3.8.8? Because class_core.php from 3.8.5 does not work with 3.8.8...

    Leave a comment:


  • borbole
    replied
    Originally posted by enivid View Post
    Wait, I don't have weird symbols, the characters are stored as their html codes in DB but when vBulletin outputs them for some reason it applies something like PHP's htmlspecialchars() on it.
    Updating the DB won't help here, since all the new posts with the Spanish characters I add result in the same problem - they are stored to DB as codes, but are outputted with escaped characters.
    Ah, my bad then. Sorry for the misunderstanding. And glad to see that you solved the issue.

    Leave a comment:


  • ik7jwy
    replied
    Originally posted by enivid View Post
    You are my personal hero now !
    I've uploaded old class-core.php and it worked fine. Thanks!
    Of course, it's just a temporary solution and I hope VB will fix it in the next version.
    Yeah ! I tried right now (after backup of SQL and forum folder) to upload the old class-core.php (3.8.5) overwriting the new one (3.8.6) and now the problem is fixed !

    Anyway, when the bug will be fixed by vB team, or when will be available a 3.8.7 version, it will be necessary to upload again the 3.8.6 version of class-core.php before upgrade ?

    Thanks

    Leave a comment:


  • enivid
    replied
    Originally posted by PitchouneN64ngc View Post
    You are my personal hero now !
    I've uploaded old class-core.php and it worked fine. Thanks!
    Of course, it's just a temporary solution and I hope VB will fix it in the next version.

    Leave a comment:


  • enivid
    replied
    Originally posted by Romchik® View Post
    These users have the same problem: http://www.vbulletin.com/forum/showt...4-pl2-to-3.8.6 http://www.vbulletin.com/forum/showt...grade-to-3.8.6 http://www.vbulletin.com/forum/showt...eeds-need-help I have this problem too after update from 3.8.4 to 3.8.6. Language on the forum - cp1251. Other my forum at 3.8.4 with same language - no problem!
    Yeah, it looks like the same problem. And this problem is not about encoding, it's about special character filtering by vBulletin. I've upgraded to 3.8.6 only 3 days ago, so, probably that was that and I simply didn't notice it until that time. I think some official from VBS should comment on this.

    Leave a comment:


  • Yves Rigaud
    replied
    http://tracker.vbulletin.com/browse/VBIII-12794

    Leave a comment:


  • Romchik®
    replied
    These users have the same problem:

    http://www.vbulletin.com/forum/showt...4-pl2-to-3.8.6
    http://www.vbulletin.com/forum/showt...grade-to-3.8.6
    http://www.vbulletin.com/forum/showt...eeds-need-help
    I have this problem too after update from 3.8.4 to 3.8.6. Language on the forum - cp1251.
    Other my forum at 3.8.4 with same language - no problem!
    Last edited by Romchik®; Tue 20th Jul '10, 9:29am.

    Leave a comment:


  • enivid
    replied
    Wait, I don't have weird symbols, the characters are stored as their html codes in DB but when vBulletin outputs them for some reason it applies something like PHP's htmlspecialchars() on it.
    Updating the DB won't help here, since all the new posts with the Spanish characters I add result in the same problem - they are stored to DB as codes, but are outputted with escaped characters.

    Leave a comment:


  • borbole
    replied
    Have a look at this thread and try the solution I mentioned there. Hope it helps.

    http://www.vbulletin.com/forum/showt...17#post2010517

    Leave a comment:


  • enivid
    replied
    Originally posted by borbole View Post
    Did you do any modifications before getting this issue?

    You can fix them at the database if you want to. Let me know and I will post the query you need to do that.
    As far as I remember, I've updated vBSEO config (without changing anything) before that. But it looks like the problem isn't in vBSEO, as if I disable it, the problem still persists.

    Please, let me know if you have some solution.

    Leave a comment:


  • borbole
    replied
    Originally posted by enivid View Post
    All the special characters inside forum posts and thread titles suddenly started to display as codes (for example, &#161; ). You can see an example post here.

    Before that they were displaying perfectly. It looks like vBulletin started to escape the characters for some reason (& gets converted to &amp; and thus special characters don't display correctly).

    I am using VBulletin 3.8.6. How do I fix this?
    Did you do any modifications before getting this issue?

    You can fix them at the database if you want to. Let me know and I will post the query you need to do that.

    Leave a comment:


  • enivid
    started a topic Special Characters Display as Codes in Posts and Post Titles

    Special Characters Display as Codes in Posts and Post Titles

    All the special characters inside forum posts and thread titles suddenly started to display as codes (for example, &#161; ). You can see an example post here.

    Before that they were displaying perfectly. It looks like vBulletin started to escape the characters for some reason (& gets converted to &amp; and thus special characters don't display correctly).

    I am using VBulletin 3.8.6. How do I fix this?

Related Topics

Collapse

Working...
X