[Phpmyadmin-devel] Charsets patch

Marc Delisle DelislMa at CollegeSherbrooke.qc.ca
Fri Jun 14 07:46:04 CEST 2002


Michal Cihar a écrit :
> 
> Hi
> 
> as my patch was today commited into cvs here are few important notes about it:
> 
> - ANY mysql function that takes or returns string must be replaced by PMA_mysql* function. To do this automatically there is available shell script http://cihar.liten.cz/PMA-patch/01-mysql-wrappers/PMA-cvt

I was wondering if PMA-cvt can be done more than once on the same file.

> 
> - ANY link (or form) should contain convcharset variable to keep this value while user uses these links
> 
> I think that second thing would cause less problems if the part of links/hidden inputs that is used everywhere (probaly: lang, server and convcharset) would be generated just once in common.lib.php3 and not in reaaly plenty places all over the code. What do you think about it?

Of course it's ok to reduce the duplication of code. But I suggest to do
this after 2.3.0 :)

Marc




More information about the Developers mailing list