0

I have written a POST Response API for the android in PHP that INSERTS and GETS the data from MySQL, and I have designed some webpages for the same concept using CodeIgniter! like posts on Facebook.

The Problem is the data I need to insert/get some language content (i.e; Telugu) the post is uploading successfully from android and web ....but there is an error displaying the string language content from android API uploaded data to WEB &&& Web uploaded data to android.

The string from the database is displaying like this: కరోనా వైరà°
I want it to display like this in native language: రిపోర్ట్స్, వీడియోలు.

My Codeigniter Web PHP Code:

echo $post['postID'];

echo character_limiter($post['postDescription'], '99');

API postman response (API postman response string for android is getting fine)

Demo URL: http://arunahospitals.com

Tschallacka
  • 27,901
  • 14
  • 88
  • 133
Sailesh
  • 23
  • 3

1 Answers1

0

Set Table Collation into utf8_general_ci and add meta tag in views

<meta charset="UTF-8">
Boominathan Elango
  • 1,156
  • 2
  • 7
  • 20