Jump to content

Recommended Posts

Posted

I have trouble to render special characters with a textarea field: once special characters are entered in the textarea field (eg: å), it appears as � on the website. This textarea is a character map for a type showcase, so I need UTF8 support, my HTML header is set to charset=utf-8, what do you think?

Posted

I would also check database setting:

  1. database character encoding should be utf-8
  2. template files need to be utf-8 encoded
  3. HTML-Output need to be utf-8 encoded (header)
  • Like 1
Posted

Many thanks for your replies. This issue was due to a hand crafted function using substr(). I used mb_substr() instead and it solved the encoding issue!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...