views:

68

answers:

1
+1  Q: 

mssql_query accent

I hava a problem with this mssql_query in PHP :

$query = 'SELECT Ville FROM tblLstManufacturiers where province = "Québec"';

The result is empty because I have an accent in Québec

How can I do this?

+1  A: 
SELECT Ville
FROM tblLstManufacturiers
WHERE province = N'Québec' COLLATE Latin1_General_CS_AI
Quassnoi
Are you sure that's working with a MSSQL query?
Bigballs
Ah, sorry, confused with MySQL
Quassnoi
See updated post
Quassnoi
It'S not working, but I use the utf8_decode function on my query and it's working. Thank's a lot!
Bigballs