Codoforum related discussions
[Solved] Wrong Unicode character in topic URL

Hi everyone

I just installed Cofoforum 3.0, everything is OK except wrong unicode characters in topic URL (Vietnamese)

54a630cfa4b23.png

Database collation is UTF8_unicode_ci

Would you pls tell me how to correct this or display thread id instead

It affects posts only, categories are OK

54a632c93a291.png

Thank you

Hi everyone I just installed Cofoforum 3.0, everything is OK except wrong unicode characters in topic URL (Vietnamese) ![54a630cfa4b23.png](serve/attachment&path=54a630cfa4b23.png) Database collation is UTF8_unicode_ci Would you pls tell me how to correct this or display thread id instead It affects posts only, categories are OK ![54a632c93a291.png](serve/attachment&path=54a632c93a291.png) Thank you

vmblogs.vn

edited Jan 2 '15 at 2:09 pm

Hi,

Can you try making the following change:

Open sys/CODOF/Forum/Topic.php

Around line 716, replace

 "safe_title" => \CODOF\Filter::URL_safe($topic['title']),

with

 "safe_title" => \CODOF\Filter::URL_safe(html_entity_decode($topic['title'])),
Hi, Can you try making the following change: Open sys/CODOF/Forum/Topic.php Around line 716, replace ``` "safe_title" => \CODOF\Filter::URL_safe($topic['title']), ``` with ``` "safe_title" => \CODOF\Filter::URL_safe(html_entity_decode($topic['title'])), ```
200
2
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft