简体   繁体   中英

How to convert UTF8 to LITHUANIAN_CI_AS in PHP?

we have MySQL in UTF8_unicode_ci and when we export text to MSSQL database which is LITHUANIAN_CI_AS text is not displayed correctly. How to convert text in UTF8_unicode_ci to text in LITHUANIAN_CI_AS in PHP?

There is no need to convert text from [...]_ci anywhere as this attribute refers to the collation used and not to a feature of the text itself.

collation means "how text is sorted".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM