I have a problem with showing a value from mysql database. So value is saved as UTF-8 in the mysql database ( correctly ) , I am retrieving a JSON formated data to javascript (correctly) and then when I print the result in the javascript I don't see right signs as I am using Croatian alphabet.
I have put this in the head section:
<meta name="http-equiv" content="Content-type: text/html; charset=UTF-8"/>
and in the script section:
<script type="text/javascript" charset="utf-8">
What can I do next?

charsetattribute of the HTTP responseContent-Typeheader over there. The meta tag is ignored on HTTP responses and is for example only used when you let your webbrowser save the HTML output to disk and then open it from disk by afile://URI instead of ahttp://URI.