[Phpmyadmin-devel] DefaultCharset = 'en-utf-8' ?

Michal Čihař michal at cihar.com
Wed Oct 24 10:43:49 CEST 2007


On Wed, 24 Oct 2007 10:44:03 +0200
Sebastian Mendel <lists at sebastianmendel.de> wrote:

> Michal Čihař schrieb:
> > On Wed, 24 Oct 2007 09:34:52 +0200
> > Sebastian Mendel <lists at sebastianmendel.de> wrote:
> > 
> >> select_lang.lib.php#346:
> >>
> >> $convcharset = isset($GLOBALS['cfg']['DefaultCharset']) ?
> >> $GLOBALS['cfg']['DefaultCharset'] : 'en-utf-8';
> >>
> >>
> >> shouldn't this be 'utf-8' without 'en'?
> > 
> > Shouldn't cfg be always set since we're using default config stuff?
> 
> yes, it should, but i just wanted to verify that this is the wrong value,
> and not the one in default config ...

Yes 'en-utf-8' is IMHO wrong.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20071024/d4d49fda/attachment.sig>


More information about the Developers mailing list