Solution to several issues of UTF-8

xiaoxiao2021-03-06  98

When using Struts, most of the display is displayed from the resource file, but some is not to read from the resource file. Like the text on Submit, he defaults that Submit is changed to other contents, but if you use Chinese, because the code I use is UTF-8, there will be garbled, and I used to see it before. Some of the articles of articles are converted with the conversion tools provided by JDK, but still there will be garbled, will I want to choose the code when the code is selected? I use Eclipse2.1.2 His default code is GBK I change the GBK to UTF-8, then enter Chinese, after the deployment, the problem is solved.

转载请注明原文地址:https://www.9cbs.com/read-97783.html

New Post(0)