iframe charset
Posted: Mon Jan 03, 2011 8:23 pm
Hi all
I have embedded some html files using iframes (I know they are undesirable), but there is a problem with the charset, as I am trying to insert danish letters (æ, ø and å). When I am using the letters outside the iframe there are no problems.
Meta: charset=utf-8
MySQL charset: UTF-8 Unicode (utf8)
MySQL connection collation: utf8_unicode_ci
My tables have the collation utf8_general_ci
In my database I have set my collation to utf8_unicode_ci.
When I'm changing the browser charset to ISO-8859-1 the embedded htmls look fine, but then the characters in the menus, texts etc. are messed up.
Any thoughts or ideas?
/Napoleon.
I have embedded some html files using iframes (I know they are undesirable), but there is a problem with the charset, as I am trying to insert danish letters (æ, ø and å). When I am using the letters outside the iframe there are no problems.
Meta: charset=utf-8
MySQL charset: UTF-8 Unicode (utf8)
MySQL connection collation: utf8_unicode_ci
My tables have the collation utf8_general_ci
In my database I have set my collation to utf8_unicode_ci.
When I'm changing the browser charset to ISO-8859-1 the embedded htmls look fine, but then the characters in the menus, texts etc. are messed up.
Any thoughts or ideas?
/Napoleon.