0

I inserted some data in to MySQL database tables, it's actually fine inside MySQL database, but shows me the data in browser like this

(???? ???????? ???? ???? ? ????????? ????? ? ???? ?? ???? ? ????????? ?? ???? ??? ? ???? ????? ???? ?????? ??? ?????? ?? ????? ????? ??????? ?? ???? ??? ? ?? )

but the actual data is

( تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است. چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است و برای شرایط فعلی تکنولوژی )

I changed the character set to UTF-8 and collation to utf8_general_ci, but it still doesn't work.

DanMan
  • 11,323
  • 4
  • 40
  • 61
Stoman
  • 173
  • 1
  • 3
  • 12
  • There are various components in your tool chain, all of them have to be configured to use the correct encoding, not only your database. – arkascha May 15 '16 at 11:15
  • Given @arkascha's point, if you want this to be answerable, you're going to need to show your php code ([mcve]) – Foon May 15 '16 at 12:40
  • The probable cause is failure to declare the `CHARACTER SET` for the _column_ to be utf8 (or utf8mb4). There is no way to recover the Arabic from the question marks. – Rick James May 25 '16 at 04:20

0 Answers0