How to use Tamil in NetBeans 8.0.2

自古美人都是妖i 提交于 2019-12-13 07:09:15

问题


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?


回答1:


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

Changing Font for Output Window

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

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




回答2:


Using Tamil font in Netbeans 8.2

  1. Go to tools
  2. Select option
  3. Select Fonts & Colors
  4. Change font to Nirmala UI
  5. Click apply and then Ok

Same thing applies for output

  1. go to Miscellaneous
  2. Click on Output
  3. First option change font to Nirmala UI
  4. Click on Apply and then Ok

Input font change

Output font change



来源:https://stackoverflow.com/questions/34750841/how-to-use-tamil-in-netbeans-8-0-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!