Page 1 of 1

Serendipity_event_linklist:2

Posted: Tue Nov 22, 2005 9:56 am
by JWalker
Hello,

Another bug in serendipity_event_linklist.php. The links and tree nodes in the links' tree that are not in English (Western) but in another coding (cyrillic - cp1251 in my blog) appear as ?????. I suppose that this problem is same or similar to the problem that existed in serendipity_plugin_dhtml_menu. The cyrillic letters were displayed as ?????. The problem does not occurs with internal categories plugin.
Here is a screenshot that shows the output.

Posted: Tue Nov 22, 2005 10:32 am
by oxygenws
I think this is because of difference between your frontend and backend encodings.

could you see scratched names in backend correctly?

Posted: Tue Nov 22, 2005 10:40 am
by JWalker
Yes, I can see the names in the backend (I entered them via 'Manage Links' in administrative panel). The same problem appeared in plugin_dhtml_menu recently, and was resolved by implementing the way of link generation that is in internal categories plugin. I dont know how to explain this because I am not PHP insider.
I am using cp1251 encoding, the database is MySQL with cp1251.

Posted: Tue Nov 22, 2005 11:03 am
by oxygenws
could you check your backend and frontend encoding, and tell me the result?

Posted: Tue Nov 22, 2005 11:13 am
by JWalker
Backend encoding: Cyrillic (windows-1251)
Frontend encoding: Cyrillic (windows-1251)
I am with Windows XP SP2 Firefox 1.5RC2 / Apache 2.0.54 / PHP 5.0.2 / MySQL 4.1.14.

Posted: Tue Nov 22, 2005 11:49 am
by garvinhicking
Yes, I think the linklist plugin uses UTF-8 transcoding, but has problems with cp1251. I don't know how to solve that, I'm sorry - I'm not using the linklist plugin. You might want to try to switch your blog to UTF-8, then those problems will vanish.

Best regards,
Garvin

Posted: Tue Nov 22, 2005 12:52 pm
by JWalker
Thanks,

It's even easier - I will just make my Links names in English and the problem will disappear by itself.