Linked Questions
39 questions linked to/from How to support UTF-8 encoding in Eclipse
0 votes
0 answers
70 views
How to convert JAVA file into UTF-8 [duplicate]
I have this little code: import javax.swing.*; public class Formulario extends JFrame{ private JLabel label1; private JLabel label2; public Formulario(){ setLayout(null); ...
229 votes
9 answers
302k views
How to change default text file encoding in Eclipse?
Whenever I add a new html file (or other text file) to the project its encoding is set to Cp1250. I am not sure why, I guess this is probably because my default language in Windows is Polish and I don'...
41 votes
8 answers
64k views
Eclipse wrong Java properties UTF-8 encoding
I have a JavaEE project, in which I use message properties files. The encoding of those file is set to UTF-8. In the file I use the german umlauts like ä, ö, ü. The problem is, sometimes those ...
27 votes
8 answers
85k views
How to use Special Chars in Java/Eclipse
How can I use/display characters like ♥, ♦, ♣, or ♠ in Java/Eclipse? When I try to use them directly, e.g. in the source code, Eclipse cannot save the file. What can I do? Edit: How can I find the ...
14 votes
3 answers
48k views
Eclipse character encoding
I am using Scanner to scan a .txt document in Java. However, when I open the .txt document in Eclipse, I notice some characters are not being recognized, and they are replaced with something that ...
18 votes
4 answers
21k views
How to set charset encoding property for SVN File and Eclipse
I have a file which has international characters (UTF-8). How so I set this encoding type as a part of svn property and how do I ensure that it overrides automatically default encoding in eclipse i.e. ...
10 votes
2 answers
21k views
how can i get the Unicode infinity symbol converted to String
I want to use the infinity symbol (8 lying sideways) in java. furthermore i want to use it as a String component. i did not find a working charcode/ascii code for this (is there any?). i tried: ...
2 votes
2 answers
11k views
Unrecognized special characters in Eclipse
I have an encoding problem in Eclipse (Indigo Service Release 1). Here's what happens: I have a property file (language bundle) in German language and it is not displayed correctly when I open it in ...
1 vote
4 answers
5k views
Invalid character constant in a UTF-8 character
I'm trying to assign 'o͝' (a phonetic character) to a Character in a Java program, but I get the error "Invalid character constant". My file is using UTF-8 and other phonetic characters work ok, but ...
6 votes
2 answers
5k views
Tamil characters appear as question marks when using JSTL fmt library and properties files
I am using JSTL fmt taglib to show Tamil characters. But I could not show any Tamil characters. Instead of showing Tamil characters, it's showing question mark characters as in ??????. I tried for ...
1 vote
2 answers
3k views
Maven install does not encode in UTF-8 even if configured
Hi I have a problem with the encoding of my project. When I run JUnit tests from eclipse, there are no failures. The problem is when I do maven > clean maven > install, one of the tests fails. I ...
2 votes
2 answers
8k views
DynamoDB automatically converting special characters
Working with DynamoDB and AWS (.net C#). For some reason when saving strings containing "é" get replaced with a question mark when saved. How can I prevent it from happening?
0 votes
3 answers
3k views
Unexpected error in simple Java program [closed]
I'm learning Java, and I wanted to make a very basic calculator. But looks like I got a problem right a way! Here is the code: import java.util.Scanner; public class apples{ public static void ...
2 votes
2 answers
7k views
Java Resultset Not Showing Unicode (Chinese) Characters, But Showing as Question Marks
I have the following issue. The java resultset is not showing Unicode (Chinese) characters, but showing all other characters. I am sure all characters are stored/showing properly from in Microsoft ...
2 votes
2 answers
6k views
“UTF-8” encoding is not working in java build [closed]
I saved my Java source file specifying it's encoding type as UTF-8 in my eclipse. It is working fine in eclipse. When I create a build with maven & execute it in my system Unicode characters are ...