facebook

encoding issue.

💡
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. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #214746 Reply

    qihaihui
    Member

    I just updated to 3.8.1. When I open a jsp file in existing project. I can’t see my local language(GBK). the chinese is displayed like “ù¶ÈËù¸½´óÈö·¢È÷µÄ·”. It is fine on 3.8.0 beta2. My defalut encoding on perfs is GBK, and the jsp file encoding is determined from content : ISO-8859-1, it is a new feature on 3.8.1, right? how to determined the encoding on the jsp editor?
    And when I input the chinese , it is accepted and displayed correctly by jsp editor. but when save it. an error message is popup. “The encoding(ISO-8859-1) cannot convert some characters(such as the one in positioin 960). press OK save anyway……”.

    Anybody can tell me how to do?

    The following is my ENV:
    SUN jdk1.4.2_05,
    Eclispe 3.0.
    MyEclipse3.8.1
    command line: D:\eclipse\eclipse.exe -vm d:\j2sdk1.4.2_05\bin\javaw -vmargs -Xmx512M.
    Thank you.

    #214783

    Riyad Kalla
    Member

    Yes the JSP editor does pickup the encoding off of the pageEncoding argument (we had a Polish gentleman running into a similar problem), have you tried using Big5 encoding for your pages?

    #214824

    qihaihui
    Member

    I move the following text to the first line,
    <%@ page language=”java” pageEncoding=”GBK” %>

    it is fine now. the jsp file encoding is determined from content : GBK
    Thank you very much.

    #219480

    dyben
    Member

    The version of myEclipse which i use is 3.8.2, i put the “<%@ page language=”java” pageEncoding=”GBK” %>” in the first line,but i found the problem is still exist!How to?

    #220750

    dearmite
    Member

    dyben
    you must open the jsp file in notepad or edit plus …
    and you put the “<%@ page language=”java” pageEncoding=”GBK” %>” in the first line

    and then you open the file in Eclipse,

    #220751

    dearmite
    Member

    if you change the file in Eclipse ,
    the file ‘s encoding changed to iso8859-1 alreday!

    and when you open the file in notepad editplus etc ,
    the file is also “ù¶ÈËù¸½´óÈö·¢È÷µÄ·”
    this file is destroyed !

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: encoding issue.

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