Jsp uncommon word display

Source: Internet
Author: User

In the network, changing the encoding from gb2312 to gbk does not take effect for a long time, including servelt, because it is garbled by default with the servlet itself in the database.


Later, we changed the page encoding to gbk on the jsp page, but it still didn't work. We tried later because I forgot to modify the encoding settings for the header and tail pages.

Put:

<% @ Page contentType = "text/html; charset = gb2312" language = "java" %>

Changed:

<% @ Page contentType = "text/html; charset = gbk" language = "java" %>

Experience

Later I talked to sun, who is responsible for functional testing, about this bug. Sun said that he had discovered it last year and published it in QC, but at that time, the developers said they only needed to change it a little later.
However, today, we only pay attention to it because the testers did not classify bugs and did not pay more attention to important bugs by programmers and leaders, the bug should be divided into the ones that must be modified, which will affect all projects in the future and the bug above a small function will not affect the development of other projects in the future. If the bug affects all projects in the future, programmers and department leaders must pay more attention to this bug and remind programmers to modify it in time until the bug is not found.

 

Author: chen3888015

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.