开发者

why accent dont display correctly when import my database?

开发者 https://www.devze.com 2023-03-16 04:54 出处:网络
I have an application made ​​in drupal, when I i开发者_JS百科mport my data with PHPMyAdminand then import for the sitethat published the ñ and accents are not displayed correctly, I did the same to

I have an application made ​​in drupal, when I i开发者_JS百科mport my data with PHPMyAdmin and then import for the site that published the ñ and accents are not displayed correctly, I did the same to another machine and it worked OK, the difference in my mysql and the site is posted is the collation is utf8_unicode_ci for my machine and the area of ​​the website is published utf8_general_ci, this can cause the malfunction?? thanks ...


You should always use utf8_general_ci while importing data to prevent errors with accents/acutes/tildes etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消