 |
Apache2Triad Help, Support and Development The apache2triad help , support and development forums
|
| View previous topic :: View next topic |
| Author |
Message |
epp1123
Joined: 24 Sep 2007
Posts: 2
|
| Posted: Mon Sep 24, 2007 3:41 pm Post subject: Problem with the greek language |
|
|
Hello I am using apache2triad 154 and my problem it the following one:
I want to use the greek language but my website shows me the "?" character. My encoding, and collation, are utf8_general_ci and I see my records in Greek when I am in phpmyadmin. I have changed the parameters to the ini file but still problem. Oh I used the same db with JSP and I have no problem. So where is the problem? |
|
| Back to top |
|
Vlad Alexa Mancini
Joined: 07 Jul 2003
Posts: 1538
|
| Posted: Mon Oct 15, 2007 10:47 pm Post subject: |
|
|
try changing AddDefaultCharset to
Code: AddDefaultCharset utf-8
in httpd.conf
or
Code: AddLanguage gr .gr
AddCharset utf-8 .gr
because
http://httpd.apache.org/docs/2.0/mod/core.html#adddefaultcharset wrote: AddDefaultCharset should only be used when all of the text resources to which it applies are known to be in that character encoding and it is too inconvenient to label their charset individually. One such example is to add the charset parameter to resources containing generated content, such as legacy CGI scripts, that might be vulnerable to cross-site scripting attacks due to user-provided data being included in the output. Note, however, that a better solution is to just fix (or delete) those scripts, since setting a default charset does not protect users that have enabled the "auto-detect character encoding" feature on their browser |
|
| Back to top |
|
epp1123
Joined: 24 Sep 2007
Posts: 2
|
| Posted: Mon Jan 14, 2008 10:14 am Post subject: |
|
|
| Hello. It's been a while since I posted my ploblem. Dear Vlad, I followed your advice...but nothing. The problem is still there. I don't know what else I to do. If you some more advice, please help me. If you don't never mind. |
|
| Back to top |
|
| |
|