General > Support

UTF-8 encoding

(1/2) > >>

actarus:
Hello,
I installed webmin and add a language module (fr).
The special characters in admin panel are replaced by a  "?". If i manually switch the encoding of the webpage in the browser to ISO it displays the special characters well.
I guess it's link with my server configuration as locally i don't have the problem.
Any hint to solve the problem ?

Doakurst:
For the characters are they the fancy 'e's? or the squiggly 'c's? If you look at the page source if its not é then the facny 'e's won't she up but will be replaced with an '?'

actarus:
i didn't find any other solutions except to edit my local language sentences (admin > localization wizard) and remake all the sentences with special characters that were not displayed correctly. It seems it re-encoded well the é and others by doing this.
Strange it only happened to me.

Anyway thanks for the good work done on this Messenger.

Inspirer:
Ideas:
1. French locale uses ISO-8859-1 encoding to store messages, you should have php-module "iconv" installed for correct work.
2. Your server can be configured to send "Content-type: text/html; charset=...." header and our header is somehow ignored.

Solutions:
1. Try attached properties file (it is french in UTF-8) instead of yours /locales/fr/properties.
2. Add <meta http-equiv="Content-type" content="text/html; charset=utf-8;"/> into /views/inc_main.php after <head> (line 6).

Please, report if it helps.

zytep:
The most simple sollution:

(had problems with Danish not showing ÆØÅ)

"Save the language file in utf-8" - eg. open it with notepad, choose save as - and edit the encoding to UTF-8)

If u tell the system to use utf-8, but the language file is hardcoded to eg. iso-8859-1 or whatever, it will fail:)

Navigation

[0] Message Index

[#] Next page

Go to full version