Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Did you set proper charset in the HTML Head section?</p> <pre><code>&lt;meta http-equiv="Content-Type" content="text/html;charset=UTF-8"&gt; </code></pre> <p>or you can set content type in your php script using - </p> <pre><code> header( 'Content-Type: text/html; charset=utf-8' ); </code></pre> <p>There are already some discussions here on StackOverflow - please have a look</p> <p><a href="https://stackoverflow.com/questions/202205/how-to-make-mysql-handle-utf-8-properly/202246">How to make MySQL handle UTF-8 properly</a> <a href="https://stackoverflow.com/questions/624301/setting-utf8-with-mysql-through-php">setting utf8 with mysql through php</a></p> <p><a href="https://stackoverflow.com/questions/405684/php-mysql-with-encoding-problems">PHP/MySQL with encoding problems</a></p> <blockquote> <p>So what i want to know is how can i directly store सूर्योदय into my database and fetch it and display in my webpage using PHP.</p> </blockquote> <p>I am not sure what you mean by "directly storing in the database" .. did you mean entering data using PhpMyAdmin or any other similar tool? If yes, I have tried using PhpMyAdmin to input unicode data, so it has worked fine for me - You could try inputting data using phpmyadmin and retrieve it using a php script to confirm. If you need to submit data via a Php script just set the NAMES and CHARACTER SET when you create mysql connection, before execute insert queries, and when you select data. Have a look at the above posts to find the syntax. Hope it helps.</p> <p>** UPDATE ** Just fixed some typos etc</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload