Will java Support Malayalam Unicode?
829578Jan 7 2011 — edited Jan 11 2011Hi,
I m creating a program for displaying malayalam unicode.. but the out put shows as a special character
the program is as follows
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package vps;
import javax.swing.JOptionPane;
public class UnicodeChars {
public static void main(String[] argv) {
//+
StringBuffer b = new StringBuffer();
for (char c = 'a'; c < 'd'; c++) {
b.append(c);
}
b.append('\u0973'); /// Malayalam unicode
for (int i = 0; i < b.length(); i++) {
System.out.println("Character #" + i + " is " + b.charAt(i));
}
System.out.println("Accumulated characters are " + b);
JOptionPane.showMessageDialog(null, b);
}
}
// pls reply