Jump to content

Foreign character encoding on pages


formmailer
 Share

Recommended Posts

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

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

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

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
 Share

  • Recently Browsing   0 members

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