facebook

When Jsp file saving. A Encoding warning displayed.

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

    iEvil.cn
    Member

    The messages is :
    The encoding(ISO-8859-1)cannot convert some characters(such as the one in position 138).Press’OK’ to save anyway(and some characters will be converted to’?’ int the saved file), or press ‘Cancel” to return to the editor.

    How to do to fix the problem?

    #242772 Reply

    Riyad Kalla
    Member

    Try changing your file encoding to UTF-8 to avoid the problem:

    <%@ page pageEncoding=”UTF-8″ %>

    something like that at the top of your page.

    #242821 Reply

    iEvil.cn
    Member

    The message happen again. Why ?

    I use UTF-8 charset

    #242824 Reply

    Riyad Kalla
    Member

    What is your Eclipse Build iD? (Help > About)

    What is your MyEclipse Build ID? (Window > Preferences > MyEclipse)

    We fixed a bug with encoding in our 4.0.2 release.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: When Jsp file saving. A Encoding warning displayed.

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