- This topic has 9 replies, 3 voices, and was last updated 19 years, 8 months ago by Brian Fernandes.
-
AuthorPosts
-
AlbrenMemberHi 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
Brian FernandesModeratorFor 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.
AlbrenMemberHi,
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
Brian FernandesModeratorhmm, that’s strange becuase it works fine here.
Can you tell me what version of Java and MyEclipse you are using?
Brian.
AlbrenMemberHi Brian,
Eclipse: Version: 3.1.0
Build id: 200412162000Version: 3.8.4
Build id: 200501171200-3.8.4Thanks for you response
Brian FernandesModeratorYou 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.
AlbrenMemberHi again,
These are the ff. files I used
eclipse-SDK-3.1M4-win32
EnterpriseWorkbenchInstaller_030804_3.1Betaand I am using j2sdk1.4.2_03
What else do you think the problem?
Best,
Albren
Riyad KallaMemberAlbren,
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.
Riyad KallaMemberNote: 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.
Brian FernandesModeratorAlbren,
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. -
AuthorPosts