Hello,
Installed and started using phpFriendlyAdmin. Great
stuff. There is, however, a small problem experienced by
users needing to work with tables containing text
encoded with charsets different than ISO-8859-1.
First of all, a charset=ISO-8859-1 directive is hardcoded
in a number of script files within phpFriendlyAdmin. This
can be hacked by doing a simple string replacement,
changing into a desired charset - but it would be even
better if charset would be a configurable option and one
would not need to mess with the scripts code.
Then, liberal use of htmlentities() function in Field.php
format() function results in non ISO-8859-1 charsets
being displayed incorrectly. (I've been working with
Windows-1257 (Baltic) charset myself).
The problems disappeared after replacing htmlentities()
with htmlspecialchars() which translates the necessary
stuff but leaves most of the other "weird" characters
alone.
I wonder whether this change won't result in other
problems in some special cases. I would appreciate a
comment from the author on that.
Thanks,
Aldas Kirvaitis
kirvaitis@yahoo.com