Q:encoding practices...best solution
Posted: Tue Aug 02, 2005 3:37 am
Hi,
PHP 4.4* and above
MySQL 4.0.*
As far as I understand if using UTF8 encoding we could represent pretty much any language.
My question is how should one set his or her application to have no encoding problems.
I guess there are two parts of the problem:
Data encoding when stored in the database
Data encodig when presented on the web (charset=........).
I have no idea as to what part PHP plays in this.
Why nowadays someone would want to use something different from UTF encoding - even if representing one language in the time(one never knows).
Could I set MySQL 4.0* to use store (not sure if needs actually) data in UTF and then present it.
If someone knows any good article on this issue - I have real trouble with multilanguage stuff - as far as I see stuff, everything should be UTF encoded - but how exactly to implement is another question.
PHP 4.4* and above
MySQL 4.0.*
As far as I understand if using UTF8 encoding we could represent pretty much any language.
My question is how should one set his or her application to have no encoding problems.
I guess there are two parts of the problem:
Data encoding when stored in the database
Data encodig when presented on the web (charset=........).
I have no idea as to what part PHP plays in this.
Why nowadays someone would want to use something different from UTF encoding - even if representing one language in the time(one never knows).
Could I set MySQL 4.0* to use store (not sure if needs actually) data in UTF and then present it.
If someone knows any good article on this issue - I have real trouble with multilanguage stuff - as far as I see stuff, everything should be UTF encoded - but how exactly to implement is another question.