I am writing a markup document in Finnish.
I'm using the lang="fi-fi"
attribute. Am I supposed to use the markup entities (ä
for ä
etc.) in conjunction with the language attribute, or is using the language attribute alone sufficient? How do the entities and language attribute affect each other?
The "problem" comes from the fact that the markup is written without entities and I have a script that's supposed to replace the scandic letters with entities by using regular expressions -- after defining the lang attribute the script doesn't appear to work anymore (which it supposedly did before adding the lang
attribute).
My main concern is that the markup renders correctly regardless of the browser, although a "modern" browser can be assumed.