Hi,
I found a similar post about this but still not sure.
As i am making my guestbook and so forth multilanguage i changed the collation to uft8_unicode_ci in mysql, everything works as it should, something that i did not think of was the type i use, my guestbook is multilanguage and for the name field a user cannot enter more than 50 characters, same for subject and 800 characters for guestbook message.
Now doing this check in php is straight forward ie. checking string length using the mb_ before strlen etc.
But i am concerned that data maybe truncuated in mysql. Obviously normal characters will be ok but when it's chineese characters and other weird characters obviously this is a concern for me as i don't know how varchar will calculate them.
Can someone elaborate please as i am not sure about this.
Thanks PHPLOVER