I recently installed phpmyfaq 2.8.2 on our web server running Apache/2.2.16 (Debian). Installation was quite straightforward and the pages work ok.
I created the Mysql database as instructed to use utf-8 character encoding and chose to use the finnish language pack for the pages.
Now, when I look at the front page, the accented characters (eg. äöå) are not shown correctly but instead shown as two characters like ä.
The web page received by the browser correctly states the page to use utf-8 encoding (by <meta charset="utf-8"> in the header), but for some reason my browsers (Firefox 24, Chromium) think that the encoding is windows-1252 (shown in FF: Tools - Page info) and displays the utf character with 2 symbols.
Also, trying to input accented characters via the admin interface is not working, the ä's are not entered at all into the database.
Any idea why? What configuration mistake did I do?
Character encoding problem
Moderator: Thorsten
Re: Character encoding problem
Hi,
can you point me to your FAQ? Did you change the templates? On which platform did you installed phpMyFAQ?
bye
Thorsten
can you point me to your FAQ? Did you change the templates? On which platform did you installed phpMyFAQ?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Character encoding problem
Hi, sorry for the delay, been busy with other...
the address is http://www.myrskyt.org/solar/phpmyfaq/
The platform is a hosted Debian linux running kernel Linux pp2rk 2.6.32-5-amd64 #1 SMP Fri May 10 08:43:19 UTC 2013 x86_64 GNU/Linux, Apache is of version 2.2.16 as told, Mysql is of version "mysql Ver 14.14 Distrib 5.1.66, for debian-linux-gnu (x86_64) using readline 6.1"
the address is http://www.myrskyt.org/solar/phpmyfaq/
The platform is a hosted Debian linux running kernel Linux pp2rk 2.6.32-5-amd64 #1 SMP Fri May 10 08:43:19 UTC 2013 x86_64 GNU/Linux, Apache is of version 2.2.16 as told, Mysql is of version "mysql Ver 14.14 Distrib 5.1.66, for debian-linux-gnu (x86_64) using readline 6.1"
Re: Character encoding problem
Hi,
your Apache is mis-configured, it serves your code with the charset ISO-8859-1 although phpMyFAQ sends UTF-8. That breaks your umlauts.
bye
Thorsten
your Apache is mis-configured, it serves your code with the charset ISO-8859-1 although phpMyFAQ sends UTF-8. That breaks your umlauts.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Character encoding problem
I checked the settings, and that virtual server has indeed been configured with AddDefaultCharset ISO-8859-1 for some reason I just can't remember any more. Too obvious:), just did not pjump into my mind.
I have to change settings or move the faq to another virtual server, whicever is easier to do.
Thanks.
I have to change settings or move the faq to another virtual server, whicever is easier to do.
Thanks.
Re: Character encoding problem
Thanks for your reply. Do you have any suggestions as to what the code should be for the htaccess?
________________________________________
Chess-Rivals.com Play Online Live Chess Free 3d Against Computer
________________________________________
Chess-Rivals.com Play Online Live Chess Free 3d Against Computer
Last edited by faris on Tue Jan 26, 2016 8:22 am, edited 6 times in total.
Re: Character encoding problem
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist