facebook

jsp editor encoding

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #229670 Reply

    rainboy20024
    Member

    Hi,
    I’m chinese,now i use myeclipse v3.84 to develope jsp,but when my jsp
    contains chinese such as “你好”,when i save it,all the chinese become ????,and myeclipse reports its encoding is iso-8859-1,how can i changes its to gb2312?

    Thanks.

    #229741

    Riyad Kalla
    Member

    You need to use the pageEncoding page directive attribute to specify a new encoding.

    #229769

    darkjune
    Member

    很简单,你在JSP加一条语句就行了 <%page contentType=”gb2312″%>
    but when I use this code,the jsp preview works wrong ,the words in the preview page are like “????”,why

    #229794

    Riyad Kalla
    Member

    pageEncoding, not contentType.

    #229844

    xff
    Member

    pageEncoding?
    how to do with this?

    #229857

    Riyad Kalla
    Member
Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: jsp editor encoding

You must be logged in to post in the forum log in