Basically I have localized a website by using gettext(), and used the UTF-8 character encoding format.
-
Can anybody suggest me that there will be issue in validation of form (like length of the field) in UTF-8 ?
-
can UTF-8 is sufficient to manage HTML special characters or entity?
- Can the translated string in UTF-8 format be stored in database?
Please suggest me if any issue occurs.
Thanks…..
mb_strleninstead ofstrlen.$encodingparameter ofhtmlentitiesorhtmlspecialchars.SET NAMES utf8.