Display "special character" using Unicode : Unicode « I18N « Java






Display "special character" using Unicode

     


import javax.swing.JLabel;

public class Main {
  
  public static void main(String[] argv) {
    String COPYRIGHT = "\u00a9";
    JLabel a = new JLabel(COPYRIGHT);

  }
}

   
    
    
    
    
  








Related examples in the same category

1.Unicode DisplayUnicode Display
2.Character Sets and Unicode: Code Set Conversion
3.International friendly string comparison with case-order
4.Generic unicode textreader, which will use BOM mark to identify the encoding to be used. If BOM is not found then use a given default or system encoding.
5.Convert into Hexadecimal notation of Unicode
6.Generic Unicode text reader, which uses a BOM (Byte Order Mark) to identify the encoding to be used.
7.Generic unicode text reader.
8.processing SGML into unicode characters.
9.Write a 16 bit short as LITTLE_ENDIAN
10.Write a 32 bit int as LITTLE_ENDIAN.
11.Arabic Reshaper