Firstly, I'm not sure whether this post should be in the MySQL or PHP forum. I'm lost with one...
I have a problem with special characters, such as Ö, showing up on my web page.
I'm using a VB.NET program to get values from an Access Database and create a php upload script. I'm specifying that the php page should be written in UTF-8 Unicode and I believe it is. I'm also specifying the table character set and collation: ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
When viewed in Textpad, the characters all look correct, with the exception of the ™ symbol.
When I execute the upload script and check the values in the MySQL database, it reverts to Latin1 and trashes the special characters. Also the output when viewed on a web page is also trashed.
From the PhpMyadmin home page, the MySQl Charset and Connection Collation are both: UTF-8 Unicode (utf8).
Any ideas?
I have a problem with special characters, such as Ö, showing up on my web page.
I'm using a VB.NET program to get values from an Access Database and create a php upload script. I'm specifying that the php page should be written in UTF-8 Unicode and I believe it is. I'm also specifying the table character set and collation: ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
When viewed in Textpad, the characters all look correct, with the exception of the ™ symbol.
When I execute the upload script and check the values in the MySQL database, it reverts to Latin1 and trashes the special characters. Also the output when viewed on a web page is also trashed.
From the PhpMyadmin home page, the MySQl Charset and Connection Collation are both: UTF-8 Unicode (utf8).
Any ideas?