Search code examples
netbeansencodingnetbeans-8tamil

How to use Tamil in NetBeans 8.0.2


I have set my project properties to UTF-8 encoding and installed all my native language (Tamil) fonts. I have tried to use Tamil words but it displays only as boxes.

How do I resolve this?


Solution

  • NetBeans uses Monospace font as its default font and this font may not have all the unicode characters you need. The solution is to change the default font of NetBeans editor windows and also to change the font of NetBeans output window which needs to be done from different places.

    Changing Default Font of NetBeans

    1. Invoke menu Tools > Options
    2. In the tab Fonts and Colors change the default font to some other font

    enter image description here

    Changing Font for Output Window

    1. Right click on the Output window and choose "Settings.." option
    2. Change the Font from the font box

    enter image description here

    When I tried changing the font to Arial Unicode and type unicode tamil characters this was what I could get...

    enter image description here