This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse Encoding Problem

 
Ahmed Kotb
Ranch Hand
Posts: 35
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I am using STS (Springsource Tool Suite) ... i am facing a problem in Characters Encoding some of code appears as un identifeed characters like squars

you can see the attached file for more clearance ...

so any one can help please...
Screenshot1.png
[Thumbnail for Screenshot1.png]
Screenshot2.png
[Thumbnail for Screenshot2.png]
 
Ahmed Kotb
Ranch Hand
Posts: 35
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there any One Can Help Please???
 
Rob Spoor
Sheriff
Pie
Posts: 20526
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PatienceIsAVirtue.
 
Sachin Pachari
Ranch Hand
Posts: 56
Eclipse IDE Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you might have changed some settings in preferrences.

try to go to Window->Preferences. and the select (Springsource Tool) and then restore defaults at the editor present under that specific tool.

Or you can try to update your tool, using Eclipse update which is found in Help menu.

The problem is due to the tool which you installed in your Eclipse.

 
Aniruddh Joshi
Ranch Hand
Posts: 275
Eclipse IDE jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any chances this problem is due to Ubuntu ?
 
Sachin Pachari
Ranch Hand
Posts: 56
Eclipse IDE Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From my experience i will can say that it may not be the issue, Eclipse works fine in almost all the OS, but i still think the tool you added to the eclipse may create the issue, the boxes appearing in the screen may be due to some unsupported or missing font types, and again i am not an expert in this, but still normally Eclipse will work just fine in any OS, the problem might be with the Springsource Tool Suite, try to search new updated version of the tools, or try posting the issue at the tool's homepage.

So did the issue get solved ?
 
Ahmed Kotb
Ranch Hand
Posts: 35
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried restoring Default Settings but it is Still as it is...
 
Sachin Pachari
Ranch Hand
Posts: 56
Eclipse IDE Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i will try to install the same tool in my system and i will revert back to you on this issue
 
Ahmed Kotb
Ranch Hand
Posts: 35
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sachin Pachari wrote : i will try to install the same tool in my system and i will revert back to you on this issue


Thanks Alot Sachin Pachari
 
Sachin Pachari
Ranch Hand
Posts: 56
Eclipse IDE Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when you change the prespective are you able to see the text properly ? now in the screenshot is in Spring prespective. try changing it to Java EE prespective.
 
Ahmed Kotb
Ranch Hand
Posts: 35
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry i am new to STS how can i change Perspective to Java EE prespective???
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the upper-right corner of STS there is a depressed button labelled Spring. Just to the right of it is an icon that looks like a grid with a plus sign - click that. A list of perspectives should be displayed, pick Java EE (you might have to click Other... to see the whole list).
 
Sachin Pachari
Ranch Hand
Posts: 56
Eclipse IDE Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try to change the prespective, if you need more information on that check the attachment.

you can select other and then select JavaEE or else you can directly select Java EE its all the same.
Screenshot2(1).png
[Thumbnail for Screenshot2(1).png]
 
Ahmed Kotb
Ranch Hand
Posts: 35
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I changed perspective as you said ...but Unfortunately the Problem still as it...
 
Sachin Pachari
Ranch Hand
Posts: 56
Eclipse IDE Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
then try to "restore default" the following settings

Window->Preference->General->Editors.

If in case it doesnt work then,

Download a new Eclipse Indigo 3.7, and then you can install the SpringSource Tool in it,

Its very simple just get a fresh Eclipse( i tried it with Eclipse Indigo 3.7) and then just check out the below link, i think there might be a problem with your Eclipse, So try to get the new Eclipse and then open the link and you can install the SpringSource Suite.

http://marketplace.eclipse.org/node/106240

 
Ahmed Kotb
Ranch Hand
Posts: 35
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sachin wrote : then try to "restore default" the following settings

Window->Preference->General->Editors.

If in case it doesnt work then,

Download a new Eclipse Indigo 3.7, and then you can install the SpringSource Tool in it,

Its very simple just get a fresh Eclipse( i tried it with Eclipse Indigo 3.7) and then just check out the below link, i think there might be a problem with your Eclipse, So try to get the new Eclipse and then open the link and you can install the SpringSource Suite.

http://marketplace.eclipse.org/node/106240


I tried restoring default setting but still the problem ...

Also i tried new Version of Eclipse and Still the Problem in it ...

I don't know what to do ,,, but I think now the Problem in the OS not in the Eclipse...

So ...Thanks a lot Sachin for your Effort with me
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic