Chinese garbled characters in footer.html

Source: Internet
Author: User

 

Sometimes we unify the style of the website, so we can separate the header and footer of the website, and reference the header and foot of other pages, but in practice, we often like to use html format because of footer. In this way, we will often see garbled characters, and sometimes it is hard to solve the problem, it is useless to save the html format again in UTF-8 format, and the access is garbled.

What should I do?

Since html cannot be used, why not try jsp? Let's get a footer. in this way, jsp can achieve the same effect, and it does not have to be so troublesome to re-Save what it is, just like doing the following:

<% @ Page language = "java" import = "java. util. *" pageEncoding = "UTF-8" %>
<A href = "#"> JOHN </a>
</Body>
</Html>
Make sure that no garbled characters will occur when you try again.

From the tengdazhang770960436 Column
 

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.