Re: [PHP4BETA] CHARSET HELP

From: Date: Thu, 16 Mar 2000 16:58:32 +0000
Subject: Re: [PHP4BETA] CHARSET HELP
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-12257@lists.php.net to get a copy of this message
>On Wed, 15 Mar 2000, Chris Adams wrote: > >> >With normal html files, i have no problem. >> >But php files automatically send iso-8859-1 as default charset and i can't >> >see turkish characters properly. >> >Thanks a lot in advance to anybody who can help me. >> >> Try this: >> header("Content-Language: tr"); >> header("Content-Type: text/html; charset=ISO-8859-9"); > >There is new configuration directive, but I forget its name. Look at the >doc or CVS sources. The problem I'm currently facing is that of building a multilingual portal site. Using the default configuration directives in this case seems wrong, as there really is no default value that won't end up being wrong most of the time. Is there a cleaner way of doing this in PHP4 other than wrapping the actual header() calls in a library function? Chris

« previous php.version4 (#12257) next »