- From: souravm <souravm@infy.com>
- Date: Wed, 26 Sep 2001 11:43:31 +0530
- To: <www-international@w3.org>
Hi All, Java supposed to store all strings internally in Unicode. In that case what is the encoding form of Unicode (i.e. UTF-8/UTF-16/UTF-32) used ? To be more specific - Let us consider a string, strInput, which contains characters encoded using Shift_JIS as encoding type. Following code is supposed to convert it to Unicode. String strConv = new String(strInput.getBytes(), "Shift_JIS"); My query is what would be the encoding type of the string strConv - UTF-8/UTF-16 or UTF-32 ? Regards, Sourav
Received on Wednesday, 26 September 2001 02:19:37 UTC