Issue
I’m using Eclipse IDE 2022-09 (4.25.0) and when I print a French text like Périneau, the console return P�rineau.
example:
String str = "Périneau";
System.out.println(str);
console:
P�rineau
Is there something that I can do to have a good output?
Solution
You'll need to switch to "UTF-8".
Common Tab (Help - Eclipse Platform).
Encoding
Sets the encoding for the console allocated for this launch. If Default is selected the launch will inherit the current Text file encoding setting from the Workspace preference page. Or a different encoding can be selected for this launch.
Answered By - Reilas
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.