formmailer Posted October 12, 2011 Share Posted October 12, 2011 Hi, I was looking at the source of one of my pages and noticed that the body (and some other parts) contained å ö ä ë etc. Shouldn't these characters be encoded like å &öuml; ä ë? Or is this no longer required and am I just an old fashioned HTML4 user? /Jasper Link to comment Share on other sites More sharing options...
ryan Posted October 12, 2011 Share Posted October 12, 2011 I can't think of any reason why those characters would need to be entities in UTF-8 output. I'm guessing you are talking about a TinyMCE field, so that's what is determining what should be made into entities. On other text-based fields, you can select what text formatters you want to apply (including entity encoding). However, since we're using UTF-8 I don't think that the characters you indicated would ever be entity encoded, though I could be wrong. Link to comment Share on other sites More sharing options...
formmailer Posted October 12, 2011 Author Share Posted October 12, 2011 Cool! When I didn't use a CMS to create my sites, I always used HTML4 and validated it using the W3C validator and it always pointed out that the should be entity encoded. I just validated my PW site using the W3C validator and it went didn't have any problems with it, but I just wanted to be sure. And since it validated, my guess is that you were right! /Jasper Link to comment Share on other sites More sharing options...
Soma Posted October 12, 2011 Share Posted October 12, 2011 No need to encode sepcial chars if you're using utf-8. Link to comment Share on other sites More sharing options...
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