[Phpmyadmin-devel] convcharset cookie - is it needed?

Michal Čihař michal at cihar.com
Tue Jul 20 11:40:08 CEST 2010


Dne Mon, 19 Jul 2010 23:32:40 +0200
Piotr Przybylski <piotr.prz at gmail.com> napsal(a):

> What is $GLOBALS['convcharset'] needed for? I looked at the code and
> can't find any place where it can be changed by users (there is a line
> reading from $_REQUEST['convcharset']), but it is stored in a cookie
> pma_convcharset. From what I found, it is read from
> $cfg['DefaultCharset'] and is always 'utf-8' or whatever the $cfg
> variable tells if to be.

It was used for charset conversion, which I'm not sure if is still
useful and I have no idea whether it actually works. But it's probably
safe to drop this code.

	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: 198 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20100720/0d39689b/attachment.sig>

More information about the Developers mailing list