Java Appfuse无法正确显示unicode字符
我正在用Tomcat7在idea中开发appfuse模块化应用程序。 但在添加了我的新区域设置后,-意味着波斯语-波斯语字符的fa不能正确显示 在my pom.xml中:Java Appfuse无法正确显示unicode字符,java,jsp,unicode,appfuse,Java,Jsp,Unicode,Appfuse,我正在用Tomcat7在idea中开发appfuse模块化应用程序。 但在添加了我的新区域设置后,-意味着波斯语-波斯语字符的fa不能正确显示 在my pom.xml中: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>native2ascii-maven-plugin</artifactId> <version>1.0-beta-1</ve
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>native2ascii-maven-plugin</artifactId>
<version>1.0-beta-1</version>
<executions>
<execution>
<id>native2ascii-utf8</id>
<goals>
<goal>native2ascii</goal>
</goals>
<configuration>
<encoding>UTF8</encoding>
<includes>
<include>ApplicationResources_zh*.properties</include>
<include>ApplicationResources_ko*.properties</include>
<include>ApplicationResources_fa*.properties</include>
<include>displaytag_zh*.properties</include>
<include>displaytag_fa*.properties</include>
<include>errors_zh*.properties</include>
<include>errors_ko*.properties</include>
<include>errors_fa*.properties</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
org.codehaus.mojo
native2ascii maven插件
1.0-beta-1
Native2ASCI-utf8
国家科学院
UTF8
ApplicationResources_zh*.properties
应用程序资源\u ko*.properties
应用程序资源\u fa*.properties
displaytag_zh*.properties
displaytag_fa*.properties
错误_zh*.properties
错误_ko*.properties
错误\u fa*.properties
包含在所有jsp文件中的taglibs.jsp的第一行:
<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
但是我的问题在哪里?我的问题解决了
<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
所以这个标签不可导入,应该直接在每个jsp文件中使用
对不起,我的英语不好。我的问题解决了
<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
所以这个标签不可导入,应该直接在每个jsp文件中使用
对不起,我的英语不好