3 places to handle diacritical marks in a Eurpoean web applications
- Set mySQL database Collation to latin1_swedish_ci
- Set mySQL column Collation to utf8_unicode_ci
- In PHP HTML
<meta http-equiv=”Content_Type” content=”text/html; charset=UTF-8″/> - In PHP script set mysqli charset
mysqli_set_charset($conn,”utf8″);
$rs = mysqli_query($conn,$sql);
0 comments on “PHP mySQL – European Language diacritical marks” Add yours →