[eluser]Swedie[/eluser]
I have converted my database into UTF-8, from ISO-8859-1. Gone through all data, looping through it and converting. Converting it to UTF-8. Also all tables and columns have been converted to UTF-8. All files have page encoding UTF-8 set under page properties (in dreamweaver) as well.
The problem is with å ä ö, swedish letters. They show correctly if entered manually in for example view files. But sometimes, and only sometimes, when pulled from dB the characters are like this: Vad g�r...
It should be: Vad gör...
I've also notices that if the å ä ö's are html entities, and I try to display the page without running html_entity_decode, they will show as: Vad gör du nu dÃ¥?
It should be: Vad gör du nu då?
There is something causing this and I just cannot find what...
Here is my HTML header for the page:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
There must be something in the view files that causes this?
Viewing the database from the mysql query browser or phpmyadmin and swedish letters and everything is displayed as expected.