Often times we find an issue in displaying text or string of another language like Chinese, Urdu or any other international language from the database to webpage. It might display some special character like “???? ???????????? ?????????? ???????” or other instead of original language string or text.
Due to UTF-8 not used properly this type of error may accrue. There are many different ways to assign character set UTF-8 as below:
- Set in the php.ini file
- Set in Header using the meta tag
- Use htmlspecialchars() function
- Set attribute in XML
- Set in MySQL connections
By following above steps, you can easily solve language issues with the help of MySQL and PHP. With the implementation of above steps you can resolve the multi-languages issues easily in almost most of the cases. If the issue still persists, you can contact one of our technical experts at info@demo.cmsminds.net. cmsMinds has implemented many web projects where multi-language skill is required. Some of the other projects involved multi-currencies and payment integration to accept different currencies. We’ve implemented solutions in WordPress, Drupal and PHP, and can help you on the same.