I understand that there are several character sets available.
When client uses a different character set from server, how does the conversion works without data loss?
Does Java uses default character set (as UTF-8/UTF-16) or takes it from OS?
Also understand that, windows and Linux uses - CPxxxx and Servers mostly use ISOxxxx (using command -
Charset.defaultCharset()
). I was expecting to UTF-8/UTF-16. These character sets are not default in the systems? Do we need to mention it explicitly where ever we need?
Please clarify