UTF-8 output with CakePHP

前端 未结 4 1495
野性不改
野性不改 2020-12-19 07:18

I\'m trying to move some Excel-Data to MySQL, but having troubles with encoding.

What I did:

  1. Data export from OpenOffice 3.1 as csv
4条回答
  •  一整个雨季
    2020-12-19 07:32

    I had a similar symptom, my solution was to add

    'encoding' => 'UTF8' 
    

    to config/database.php

提交回复
热议问题