在希伯来语中发布输入标签

时间:2017-01-12 10:05:21

标签: html jsp encoding hebrew

我在fileName中发送一个希伯来语单词“הי” 它返回“??”

真的需要帮助, 谢谢帮助者!

用于编码我添加了这个html行的顶部:

<%@ page language="java" contentType="text/html; charset=windows-1255"
    pageEncoding="windows-1255"%>

JSP:

<form name='DMform' id='DMform' style="height: 226px; " method="Post" >
<center>
<h2 id="titleID">title </h2>


<input type="button" value="button1" style="width: 116px; " onclick="setTextOnFile()">
&nbsp;&nbsp;
<input type="text" name="filePath" id="filePath" style="width: 258px;" value="<%if(filePath!=null){
                out.println(filePath[0].trim());
            }%>" >

</br></br>

<input type="text" name="fileName" id="fileName" style="width: 258px;" value="<%if(fileName!=null){
                out.println(fileName[0].trim());
            }%>" >
&nbsp;&nbsp;
<label>: שם המסמך </label>
</br></br>

<input type="button" value="send" onclick="checkData();" <%if(filePath!=null){
                if(filePath[0].trim()!=""){ out.println(" disabled ");}
            }%> >
</br></br>


<input type="button" value="איפוס הטופס" onClick="window.location=window.location.href ;">

</center>
</form>

过去的Java脚本:

function checkData(){
document['DMform'].submit();
}

0 个答案:

没有答案