Forum Moderators: phranque

Message Too Old, No Replies

Problem with the Language

Language

         

rsanabria

2:35 pm on Jun 1, 2005 (gmt 0)

10+ Year Member



I installed Apache 2.0 with msi for windows, my Windows is in Spanish Language and my database is SQL Server 2000. I changed my configuration because I need to work with Mapserver, so I installed MS4W (MapServer for Windows), it contains default installations of Apache, PHP, MapServer and MapScript.

With the new configuration, my site has problems with the language, the spanish characters like á, í, ó, ñ, etc. Apache doesn't interprete them.

I saw the MS4W's httpd.conf and there are two tags for the language, LanguageDefault and AddLanguage, I changed these tags:
DefaultLanguage es
AddLanguage es .co

And the character set is:
AddCharset UTF-8 .utf8

But my problem continues.

Thanks for your help!

encyclo

3:29 pm on Jun 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld [webmasterworld.com] rsanabria!

Windows doesn't store files as UTF-8 by default, so your problem may well be there. Have you tried specifying the default charset as

windows-1252
instead?

rsanabria

3:45 pm on Jun 1, 2005 (gmt 0)

10+ Year Member



Hi,

There are many AddCharset and there is a called AddCharset WINDOWS-1251 .cp-1251 .win-1251
I thought that UTF-8 was appropriate.

I changed this line:
AddCharset WINDOWS-1251 .cp-1251 .win-1251
by
AddCharset WINDOWS-1252 .cp-1252 .win-1252

but the problem persist.