Change the database character set encoding problem

Source: Internet
Author: User

With SVN pulled down projects, deployed Oracle Database (GBK encoding), deployed and published projects with Tomcat, garbled when accessing related Web pages. The conversion of Oracle's character encoding to Utf8,tomcat to UTF-8, and the redeployment of the release, still does not solve the problem. Later with the MySQL database and set up a good utf-8 encoding, garbled problem can be solved. Originally, when the database changed the code, the old data will be garbled in the database, so garbled problem can not be effectively resolved. Therefore, generally in the database creation should choose good coding, otherwise it will appear garbled, lost part of the data.

Change the database character set encoding problem

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.