facebook

How to support big5 for HTML and JSP

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #226223 Reply

    Albren
    Member

    Hi People,

    Pls help me to setup MyEclipse HTML and JSP Editors to support big5 characters.

    I am using it MyEclipse in Windows environment.

    Thanks for your help in advanced.

    Best,

    Albren

    #226228 Reply

    Brian Fernandes
    Moderator

    For JSP files, you can add this line to the top of your file
    <%@ page language = “java” pageEncoding = “Big5″%>

    For HTML – add this element under <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=Big5″>

    Right now, our editors pick up the encoding from the file contents.

    Best,
    Brian.

    #226230 Reply

    Albren
    Member

    Hi,

    Thanks for your reply, I did included what is in you response, but unfortunately I have prompted with this:

    “This encoding (Big5) is not supported. ….”

    Is there any libraries should I install in my Windows 2000 Pro, it’s an english version.

    Thanks again for your prompt response.

    Albren

    #226231 Reply

    Brian Fernandes
    Moderator

    hmm, that’s strange becuase it works fine here.

    Can you tell me what version of Java and MyEclipse you are using?

    Brian.

    #226233 Reply

    Albren
    Member

    Hi Brian,

    Eclipse: Version: 3.1.0
    Build id: 200412162000

    Version: 3.8.4
    Build id: 200501171200-3.8.4

    Thanks for you response

    #226234 Reply

    Brian Fernandes
    Moderator

    You didn’t mention your JDK version.

    Also – are you using the MyEclipse version for Eclipse 3.1? There is a beta version of MyEclipse for that (you cannot use the normal MyEclipse – that only works for Eclipse 3.0 and 3.0.1) – I don’t have the build IDs handy right now.

    Best,
    Brian.

    #226235 Reply

    Albren
    Member

    Hi again,

    These are the ff. files I used

    eclipse-SDK-3.1M4-win32
    EnterpriseWorkbenchInstaller_030804_3.1Beta

    and I am using j2sdk1.4.2_03

    What else do you think the problem?

    Best,
    Albren

    #226257 Reply

    Riyad Kalla
    Member

    Albren,
    Make sure you have your pageEncoding attribute for the page seto to Big5, also navigate to Window > Prefs > MyEclipse > Editors > JSP Editor and be sure to set your default encoding here. Additionally you can make adjustments on the “Common Editor Settings” For all editors.

    #226258 Reply

    Riyad Kalla
    Member

    Note: You have posted this same question in 3 separate threads, I have consolidated all the information into this thread and erased the 2 others. I’m sorry that we haven’t been able to get this working yet.

    #226301 Reply

    Brian Fernandes
    Moderator

    Albren,

    I just checked and Big5 works just fine in the beta as well.

    Which editor(s) are you having a problem with? both html and jsp?

    Things you can try out that will help running down the problem.
    1) As a test, can you set pageEncoding in your jsp to “utf8” or “us-ascii” and see if it works?
    2) Create a new jsp file – you can use our template (MyJSP.jsp) ore create your own – try setting the pageEncoding in that.

    Can you post a relavent snippet of your jsp file here? The first 10 lines or so which include the pageEncoding attribute?

    We appreciate your patience,
    Brian.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: How to support big5 for HTML and JSP

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