Linked Questions
10 questions linked to/from Difference between UTF-8 and UTF-16?
60 votes
7 answers
46k views
What is the Java's internal represention for String? Modified UTF-8? UTF-16?
I searched Java's internal representation for String, but I've got two materials which look reliable but inconsistent. One is: http://www.codeguru.com/cpp/misc/misc/multi-lingualsupport/article.php/...
13 votes
1 answer
17k views
Is UTF-16 compatible with UTF-8?
I asked Google the question above and was sent to Difference between UTF-8 and UTF-16? which unfortunately doesn't answer the question. From my understanding UTF-8 should be a subset of UTF-16 ...
2 votes
2 answers
4k views
Why do we use UTF-8 encoding in XHTML?
<? xml version="1.0" encoding="utf-8"?> As per W3C standards we have to use utf-8 encoding, Why can not we use utf-16 or any other which are in the encoding format? Whats the difference ...
-2 votes
1 answer
2k views
java.io.IOException: No such file or directory
I am encountering an issue to save/ create the file using java. java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) ~[na:1.7.0_79] My ...
1 vote
1 answer
1k views
Why don't UTF-8 and UTF-16 encoded Strings print the same in Java?
I do not understand why this code is not outputting the same thing? I thought the Java automatically figures out the encoding of the string? public static void main (String[] args) { try { ...
-1 votes
1 answer
2k views
Unicode string max size
I doing some export to ADAM and I would like to know what is the max character I can send to Unicode string?
0 votes
1 answer
2k views
UTF-8 character html content string to pdf
Have to conver html string pdf.Html string contains utf-8 characters.its in other than english language.I already tried with existing solutions This is my maven code.Here i use 1.3 version of itext ...
1 vote
1 answer
406 views
Japanese file name not showing properly in IE Using java
When i download the file (pdf/xls/text) file from portal, the file name is not showing properly in IE and working fine in other browsers if(((String) requestKeys.getSessionAttribute(...
0 votes
1 answer
355 views
mysql chinese column
To store chinese characters in mysql, is it recommended to store them as UTF8 or UCS2? (I am using char and varchar) Also, I have seen that UTF8 uses 4 bytes of data to store values. How many does ...
0 votes
2 answers
153 views
Writing JSON to file gives?
I have a JSON file with different names of countries and languages etc. I want to strip it down to just the information I need/want for what I am doing. For example I would like to turn [{ "name":...