UTF-8 Encoding in Netbeans Editor on Linux

Linux, Netbeans Add comments

The Netbeans 6.1 editor seems to have problems displaying UTF-8 encoded files (Linux Mint Daryna, Ubuntu Feisty), so a source file with Thai (and probably Chinese, Japanese etc.) will look like this if project encoding is set to UTF-8:

Netbeans_utf-8

Changing font, project properties etc. won’t help, so before messing around to much and risking possible data corruption, here’s a workaround: Use Quanta Plus for editing, a fantastic editor I find myself using more and more and which hasn’t let me down. Here’s the section in Quanta Plus:

Quanta_plus_utf-8

Both editors will pick up each other’s edits, so it’s a cinch to use them simultaneously to edit the same files.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in