Struts Internationalization

zhaozj2021-02-16  81

1. All JSP is encoded with UTF-8. <% @ Page ContentType = "Text / HTML; Charset = UTF-8"%>

2, jbuilder uses ISO8859_1 (there have been no tried)

3, native2ascii -encoding gb2312 a.txt applicationResources_zh.properties

4, IE Tools -> Internet Options -> Language, you can debug (need to reopen the IE window)

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

New Post(0)