My site has a webform and its submission data is written to a Microsoft SQL Server table. My site is built on a PHP / Apache / Ubuntu-Server stack.
The charset of the website is UTF-8, but the charset of the SQL Server is latin_1. As a result, the strings are corrupted when they are stored in the database.
It is not posible to change the charset of the SQL Server to UTF-8.
Of course, Microsoft supports a driver to fix this problem, but the driver is only for Microsoft operating systems.
I switched the charset of the webform to ISO-8859-1 (which isn't identical to latin_1), but then if I write Müller into the form, I get Mller in the database. After some researching, I found out that the "normal" Linux driver doesn't support this charset.
Where can I get a driver to write some text with correct charset from PHP to Microsoft SQL Server?