-3

How to insert and show Bangla characters using Laravel 5.3 API and MySQL? The database data and the json preview are shown in the following pictures.

database preview

json preview

Anik Sen
  • 1
  • 1
  • 6

1 Answers1

0

The database preview show Mojibake; see Trouble with UTF-8 characters; what I see is not what I stored

The json preview show Unicode codes -- see JSON_UNESCAPED_UNICODE in PHP's Documentation, json_encode and Predefined Constants.

Panda
  • 6,955
  • 6
  • 40
  • 55
Rick James
  • 135,179
  • 13
  • 127
  • 222