- This topic has 9 replies, 3 voices, and was last updated 20 years, 4 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
March 6, 2005 at 12:54 am #226228
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.March 6, 2005 at 1:20 am #226230
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
March 6, 2005 at 1:41 am #226231
Brian FernandesModeratorhmm, that’s strange becuase it works fine here.
Can you tell me what version of Java and MyEclipse you are using?
Brian.
March 6, 2005 at 3:09 am #226233
AlbrenMemberHi Brian,
Eclipse: Version: 3.1.0
Build id: 200412162000Version: 3.8.4
Build id: 200501171200-3.8.4Thanks for you response
March 6, 2005 at 3:22 am #226234
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.March 6, 2005 at 5:20 am #226235
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,
AlbrenMarch 6, 2005 at 8:36 pm #226257
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.March 6, 2005 at 8:37 pm #226258
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.
March 7, 2005 at 5:49 pm #226301
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