Weedpacket;10882862 wrote:And what character encoding are you using in the database? I find that using a consistent character set through the whole process (database, page, even the editor) eliminates virtually all hassles like this. I use UTF-8 as a matter of personal preference.
While I am not well versed in databases, the issue of character encoding strictly server dependant?
My site utilises iso-8859-1... but as an experiment, I changed my index page from this line:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
to:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Well, let's just say that the code would not validate (w3c validator complains that the document cannot be checked). Is this due to confilct with live server configurations? Or even worse, bad code? Am I missing something?
EDIT:
The w3c validator error message is as follows:
'Sorry, I am unable to validate this document because on line 137 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.
The error was: utf8 "\xE9" does not map to Unicode'.
The issue seems to be with regards to my Resumé tab.. .but I thought UFT-8 encompasses more characters than iso-8859-1