php - How to import Romanian diacritics from csv to mysql database -


i have found 1 error on script. while importing csv file mysql database diacritics shown strange char.

i need fast , realiable solution in sql query in code below:

$sql = "insert medici (`cnp`, `cod_parafa`, `tit_id`, `numele`, `numele_anterior`,... 

what need importing fields: numele , numele_anterior support romanian char șțăîâ. database has set utf8_romanian_ci char.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -