I'm using engine but this script just the English language displays correctly and in other languages, such as Persian and Spanish shows a peculiar shape (like this : "اخباØ") please help me.
1
Expert's answer
2014-10-28T01:40:53-0400
Answer Ifyou are using engine, please check encoding that is enabled in your engine. It's recommended you to use “UTF-8” (it also can be named like “utf-8” or “unicode-8” in different scripts). Alsoit recommended to use “mb_” functions to do operations with strings. To set encoding in php script please use next function: mb_internal_encoding('utf'); Also you can add charset to HTTP-headers: header('Content-type:text/plain; charset=utf-8'); Also, if you usesdatabase, please set same encoding in requests as in engine, for example: mysql> SET NAMES utf8; Ishould say that very important that the system must support necessary to you encoding.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment