Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356242 - Java code shown as square characters
Summary: Java code shown as square characters
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.8   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 15:16 EDT by Nitin CLA
Modified: 2011-08-31 02:56 EDT (History)
4 users (show)

See Also:


Attachments
Snapshot of how the code looks in eclipse (229.95 KB, image/png)
2011-08-30 15:18 EDT, Nitin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.