facebook

utf-8 not working in Editors

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

    phamti
    Member

    Hi,

    My jsp, html and property files (ect) need to be done in utf-8.

    1. Created index_utf8_bom_es.html using EmEditor and saving as utf-8 without the BOM (Byte-Order Mark)..
    2. Directly load webpage into browser and things look good.
    3. Fire up Tomcat and load webpage into browser and things look good.

    3. Using myEclipse double click on file, and make a change.

    After this directly loading the page in ie7 or results in square boxes.

    Choosing to use keep BOM results in bad results in the characters changing in the editor as soon as the file is loaded.

    Is UTF-8 officially supported by MyEclipse?

    Below is my sample file utf-8 html file. Notice as per w3c recommendations I am using real characters over entities.

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”&gt;
    <html lang=”es” xml:lang=”es” xmlns=”http://www.w3.org/1999/xhtml”&gt;
    <head>
    <title>Sample HTML Language File</title>
    <meta content=”text/html; charset=UTF-8″ http-equiv=”content-type” />
    </head>
    <body>
    <p>This file was created with EmEditor with the following W3C recommendations. I removed the BOM (Byte-Order Mark).</p>
    <p>El zorro marrón saltó sobre la valla.</p>
    <p>¿Cómo colaborar?</p>
    </body>
    </html>

    #287019

    Loyal Water
    Member

    Is UTF-8 officially supported by MyEclipse?

    We do support UTF-8.

    1. Created index_utf8_bom_es.html using EmEditor and saving as utf-8 without the BOM (Byte-Order Mark)..

    By saving as UTF8, do you mean that you went to Properties > Resources > Text File Encoding and changed it to UTF-8?

    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: utf-8 not working in Editors

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