Follow-up Comment #9, bugs #1981 (project savane):

 "what's this doing in the spam"



Please read  <https://gna.org/forum/forum.php?forum_id=524>





"- PHP is not sending any charset information by default; it can be configured
to set a site-wide charset that will be added in the Content-type HTTP header.
"



It is quite simple to configure apache to use utf8, by setting in
httpd.conf:



AddDefaultCharset utf-8





"Especially, my test install and Savannah have a strange behavior: when using
the French locale, output charset is latin1, and when using the German locale,
output charset is utf-8. However, at Gna!, output charset is latin1 for both
locales. All those are running Debian stable. "



At Gna, setting the http header (via apache) default charset to utf-8 ended up
in broken output (weird characters).





"Especially, my test install and Savannah have a strange behavior: when using
the French locale, output charset is latin1, and when using the German locale,
output charset is utf-8. However, at Gna!, output charset is latin1 for both
locales. All those are running Debian stable. "



A thing that could matter is the locales supported by the differents systems.
www.gna.org support all locales shipped by debian (both utf8 and iso for both
de and fr locales).





"So the first step is to understand what charset is actually used by PHP (or
by gettext?) for its output and how to set it. The second step is to choose
how to describe it."



Doesn't it respect the original files charset (po files and php files?). If
so, how should we recode these files to make sure they are all utf8? I guess
there should be documentation about it (I'm completely clueless about that).

    _______________________________________________________

This item URL is:

  <http://gna.org/bugs/?func=detailitem&item_id=1981>

_______________________________________________
  Message post� via/par Gna!
  http://gna.org/


_______________________________________________
Savane-dev mailing list
[email protected]
https://mail.gna.org/listinfo/savane-dev

Reply via email to