[Phpmyadmin-devel] about $charset removal

Dieter Adriaenssens dieter.adriaenssens at gmail.com
Sat Jun 4 10:33:08 CEST 2011


2011/6/3 Michal Čihař <michal at cihar.com>:
> Hi
>
> Dne Fri, 03 Jun 2011 09:48:07 -0400
> Marc Delisle <marc at infomarc.info> napsal(a):
>
>> I was thinking about having a constant. Not sure that we'll ever need to
>> change this, however.
>
> If there ever will be a need, grepping for utf-8 is quite easy (as
> opposed to $GLOBALS['charset'] and sometimes global and sometimes
> local $charset :-).

A constant would be CHARSET (or PMA_CHARSET), no need to put it in a global. ;)

Kind regards,

Dieter




More information about the Developers mailing list