Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Console display problem
icon5.gif  Console display problem [message #657200] Tue, 01 March 2011 22:31
adyn21  is currently offline adyn21 Friend
Messages: 1
Registered: March 2011
Junior Member
Hi. I have a noob question . I just installed eclipse for java, and i have a problem.ex :
// this is displayed correctly
....
System.out.println("Hello World");
....


// this is displayed incorrectly like H*e*l*l*o w*o*r*l*d*
// * = strange chars
...
FileReader f=new FileReader("file.txt");
BufferedReader b=new BufferedReader(f);
String line;
while((line=b.readLine()!=null)
{
System.out.println(line);
}

also if i read from a file and write in other file it works ok, only in console display isn't displayed correctly. what should i do ?
Previous Topic:these compile&run only if comment-out the package statements in all files
Next Topic:Emulator shows black screen and "Android"
Goto Forum:
  


Current Time: Thu Apr 25 14:33:14 GMT 2024

Powered by FUDForum. Page generated in 0.08178 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top