如何在 JSP 文件中使用印地语内容?

huangapple go评论61阅读模式
英文:

How to use hindi content in jsp file?

问题

在使用JSP文件中的印地语内容时,不管是在

标签中还是在

标签中,都会显示一些不同的符号,而不是我的文本内容。我应该如何在我的JSP文件中使用印地语内容。

英文:

while using hindi content in jsp , inside either in div or <p> tag.it is showing some different symbols at the place of my text.
how can I use the hindi content in my jsp file.

答案1

得分: 1

使用

    <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
英文:

use

&lt;%@ page language=&quot;java&quot; contentType=&quot;text/html; charset=UTF-8&quot; pageEncoding=&quot;UTF-8&quot;%&gt;

huangapple
  • 本文由 发表于 2020年5月5日 03:29:39
  • 转载请务必保留本文链接:https://go.coder-hub.com/61600068.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定