+ 4

What is import java.nio.charset.Charset?

Pls provide some links to help me get this know much better. What actually a charset is?

7th Sep 2019, 12:19 PM
Piyush Srivastava
Piyush Srivastava - avatar
2 Respuestas
+ 2
e.g. the nations of the world use different characters in their alphabets. A particular alphabet as a set of characters is encoded into table, where each character gets a unique number. This table is then Charset and may not contain only alphabets. If you have a text file, it is many numbers internally, but you need to translate the numbers into characters to display them correctly. If you use an incorrect character set, the text will not be readable by humans. https://www.baeldung.com/java-char-encoding https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/nio/charset/Charset.html
7th Sep 2019, 6:35 PM
zemiak
- 1
Hello
9th Sep 2019, 6:33 AM
Shahzod