rooofl Posted June 28, 2015 Posted June 28, 2015 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?
Martijn Geerts Posted June 28, 2015 Posted June 28, 2015 Could be a malformed template file. Try to delete the templates and create new valid ones. (Copy code from old to new)
horst Posted June 28, 2015 Posted June 28, 2015 I would also check database setting: database character encoding should be utf-8 template files need to be utf-8 encoded HTML-Output need to be utf-8 encoded (header) 1
rooofl Posted July 2, 2015 Author Posted July 2, 2015 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now