Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356242

Summary: Java code shown as square characters
Product: [Eclipse Project] Platform Reporter: Nitin <nitinm76>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, overholt, remy.suen, thatnitind
Version: 3.8   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Snapshot of how the code looks in eclipse none

Description Nitin CLA 2011-08-30 15:16:25 EDT
Build Identifier: M20110210-1200

Hello, 

I have recently installed, Kubuntu 11.04 on my machine and installed eclipse version 3.6.2.

I see most of the java code after ".", being displayed as square boxes instead of proper characters. 

has anybody else faced teh same problem?

I have screenshot, what would be the way to share it with forum?

thanks and regards
-Nitin

Reproducible: Always

Steps to Reproduce:
1. Create a java project
2. Write some java code in which Classvariable.member or Classvariable.method is used. 
3.
Comment 1 Nitin CLA 2011-08-30 15:18:06 EDT
Created attachment 202453 [details]
Snapshot of how the code looks in eclipse
Comment 2 Andrew Overholt CLA 2011-08-30 15:21:47 EDT
Off the top of my head I'd guess you don't have the correct font installed but I don't see how it's displaying _some_ characters and not others.

I'm going to take a guess at the correct component here.  Sorry if this is incorrect, Platform UI committers :)
Comment 3 Remy Suen CLA 2011-08-30 16:08:27 EDT
Do you only have this problem with Java editors? What if you copy/paste the file into a regular .txt file and open it with the text editor? What happens?
Comment 4 Nitin Dahyabhai CLA 2011-08-30 16:26:11 EDT
if I had to guess, I'd say your font doesn't "do" Italics. (note: this is not the Nitin that reported this bug)
Comment 5 Dani Megert CLA 2011-08-31 02:56:32 EDT
Yes, squares always mean you're using a font which isn't able to render those characters. This mean in 99% of the case you need to switch the font and in 1% you have an encoding issue.