facebook

JSP editor only supports iso8859-1 file encoding

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #230329 Reply

    I’m using 3.8.4 with Eclipse 3.1M7 and the JSP editor seems only to support the iso-8859-1 file encoding. If I change the file encoding to anything else (preferably UTF-8 or cp1250), my national characters are shown while editing, but are saved as “?” along with a message that the editor will do just that.
    This is very important for me because my company doesn’t operate in an English-speaking country.

    #230339

    Riyad Kalla
    Member

    You need to specify the “pageEncoding” attribute for the @page directive, this will fix the problem you are seeing.

    #232775

    Hello,
    The solution that you offered is not working.
    Steps to produce the error
    1. Preferences/ General / Editors / Text file encoding set to Other ISO-8859-9
    2. Preferences/ MyEclipse / Editors / JSP and others set to Turkish
    3. Put every page this

    <%@ page contentType="text/html; charset=ISO-8859-9" pageEncoding="ISO-8859-9" %>

    4. Try to put some Turkish chars
    5. And try to save and we have the error like;
    “The encoding (ISO-8859-1) cannot convert some characters (such as the one in position xxx). Press OK to save anyway and have bunch of ? soap in your file or Cancel to return to the editor and start to cry brother.”

    We are in testing cycle of MyEclipse for our developers and this problem is very annoying.
    Waiting for solution.
    Take care

    Gokhan aka kunthar
    ——————————-
    “Constructing yourself without classes and compiler”

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JSP editor only supports iso8859-1 file encoding

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