Code Snippet

Home » Code Snippets » HTAccess » Force charset utf-8

Force charset utf-8

If you can not change the configuration of Apache server, use this code to force decoding of page to utf-8.

AddDefaultCharset utf-8

Reference URL

Subscribe to The Thread

  1. hi dude, i am following your contents since 6 months, every thing is amazing………..

    i have one issue!!!

    i am creating web using tamil font (south indian language) in that i am using ajax in addvance search to get the data from db, ajax is working gr8 but fonts are not coming its comes like box symbol i have worked with character sets and other aspects too…..

    please help me to solve the issue.

  2. Marco

    not working

Speak, my friend

At this moment, you have an awesome opportunity* to be the person your mother always wanted you to be: kind, helpful, and smart. Do that, and we'll give you a big ol' gold star for the day (literally).

Posting tips:
  • You can use basic HTML
  • When posting code, please turn all
    < characters into &lt;
  • If the code is multi-line, use
    <pre><code></code></pre>
Thank you,
~ The Management ~