RE: [users@httpd] Russian Charset Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No problem.

There are at least 4 solutions:

1. Put the line 

AddDefaultCharset windows-1251

To your .htaccess file (see
http://httpd.apache.org/docs-2.0/mod/core.html#adddefaultcharset)

2. Add charset support to your scripting engine.

If you use PHP you may put the folloewing line to your php.ini

default_charset = "windows-1251"

or in your .htaccess

php_value default_charset "windows-1251"

or in your PHP code

ini_set('default_charset', 'windows-1251');

(other scripting languages should support something like this too, I am
sure)

3. Send this HTTP header yourself

e.g. in PHP:

header('Content-Type: text/html; charset=windows-1251');

1. Ask your hosting provider to assist you someway :-)

HTH

Best regards,
Denis Gerasimov,
Chief Developer, VEKOS Ltd.
www.vekos.ru

> 
> Thanks Ivan. But i am hosting my site at a web hosting company and i
> don't have access the configuration file. Is there another solution?
> 
> On 5/30/05, Ivan Barrera A. <Bruce@xxxxxx> wrote:
> > >>
> > >
> > >
> > >
> > > Delete the AddDefaultCharset directive from httpd.conf
> > >
> >
> > Or put your charset in that place :
> >
> > AddDefaultCharset windows-1251
> >
> > (sorry i forgot to put this on the other email)
> >
> > >
> > >>Is there any way to override the default charset and use the ones
> > >>which appear on the meta tags without modifying the server
> > >>configuration file?
> > >>
> > >>Thanks in advance.
> > >>
> > >
> > >



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux