Program and library coding are utf8 how to become gb2312
Source: Internet
Author: User
Program and library coding are utf8 how to become gb2312
Is there any way? or any idea?
Cubby larger. SQL contains more than 20 m ....
------Solution--------------------
Do you have to become a gb2312? The library is bigger? More than 20 m ...
------Solution--------------------
Why change?
Since your program is UTF-8 encoded, if the database code changes, it will cause "garbled"
If you want to change the program file to GBK, simply perform the Select names GBK the code conversion from the database
------Solution--------------------
Single table 180G means a lot of pressure .....
To modify a data table or database:
ALTER TABLE yourtablename default character set ' gb2312 ';
Corresponding, to change the program bar ....
------Solution--------------------
Explore
Single table 180G means a lot of pressure .....
To modify a data table or database:
ALTER TABLE yourtablename default character set ' gb2312 ';
Corresponding, to change the program bar ....
------Solution--------------------
program, there is a code batch conversion tool bar
------Solution--------------------
Change the default character for table No, remember that existing fields don't change.
But alter on the line anyway.
20M data, lazy words, export (and then change the export file in one or two places) and then import it.
discuss
Single table 180G means a lot of pressure .....
To modify a data table or database:
ALTER TABLE yourtablename default character set ' gb2312 ';
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.