This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I am dane using netbeans but I cannot get it to work with the specieal danish characters æ,ø and å. Of course I am using a dk-layout keyboard. I have tried starting netbeans with --locale da:DK but this does not help - the characters above display as little rectangular red boxes.
I tried the same at work today, on a windows machine however. There it worked fine. When I got home and imported the project from work (containing æ,ø and å characters) netbeans gave an error saying something about ASCII code. How do I specify the I want to use UTF-8 or 16 or latin-1 as default IDE characterset? And why does it not do it automatically when I give it the --locale flag on startup?
I have tried everything now, setting bash LANG variable and xorg localisation variables but nothings helps. Why does the IDE not use the --locale flag when it is set? This is a very annoying bug.
Reassigned back to component "ide". Component "i18n" is not for internationalization related issues but for issues regarding the I18N module.
I can see two possible problems: - JRE not able to display the special Danish characters - operating system's filesystem using encoding which is not able to store the Danish characters
I tried to reproduce the bug and it all worked well. My configuration: Fedora Core Linux (kernel 2.4.22) running on i686 (Intel Pentium M @ 1.6 GHz) JDK 1.4.2_04 & JDK 1.5.0 (tested on both) NetBeans 4.0 - custom build (sources updated at 25 Oct 2004, 8:00 AM GMT)
Links - Danish keyboard layout: http://www.sciencedaily.com/encyclopedia/keyboard_layout http://www.jimmy.com/Software/KeyMapPro2/KMP_Danish.html http://sunsolve.sun.com/handbook_pub/Devices/Input_Device/INPUT_Da_Kbd.html
Ok, I also tried it in Fedora Core Test 3, and it works. However I do not understand why it did not work under Gentoo, where I have written many programs in other applications using danish characters. Well, who knows....
P3 is more appropriate for this state of issue.
I guess the problem is similar to the one reported in issue #52176 ("I18N - the Open File dialog does not show Chinese characters"). My last comment to issue #52176: This is not a bug in NetBeans. The problem is that either some Chinese fonts are missing on the computer or the JVM (Java Virtual Machine) is not properly configured to use them. Document "Java Internatinalization FAQ" (http://java.sun.com/j2se/corejava/intl/reference/faqs/index.html) should contain useful information on how to solve such problems. The document also refers other documents - one for JDK 1.4.x (http://java.sun.com/j2se/1.4.2/docs/guide/intl/font.html) and another for JDK 1.5.x (http://java.sun.com/j2se/1.5.0/docs/guide/intl/fontconfig.html). Terms "logical fonts" and "physical fonts" are used in the above documents. For your information, NetBeans uses "logical fonts".
Marian, reporter, is this still an issue? Shouldn't it be resolved somehow?
Further evaulation: This is not the same issue as bug #52176, which is actually caused by a JDK bug. As displaying Danish characters work with Fedora Core but does not work with Gentoo, I guess the cause of this problem is misconfiguration of JDK fontsubsystem, i.e. that the JDK is not able to use Linux fonts necessary for displaying Danish characters. The solution is to modify the configuration so that JDK is able to find all necessary fonts. The probable cause of the misconfiguration is that Gentoo is not among supported Linux distributions and the default configuration is not correct. (Fedora Core is not supported either but it is very close to Red Hat which is supported.) Links to more information: - for J2SE 1.4.x: - supported system configurations: http://java.sun.com/j2se/1.4.2/system-configurations.html - supported locales: http://java.sun.com/j2se/1.4.2/docs/guide/intl/locale.doc.html - internationalization: http://java.sun.com/j2se/1.4.2/docs/guide/intl/index.html - for J2SE 5.0: - supported system configurations: http://java.sun.com/j2se/1.5.0/system-configurations.html - supported locales: http://java.sun.com/j2se/1.5.0/docs/guide/intl/locale.doc.html - internationalization: http://java.sun.com/j2se/1.5.0/docs/guide/intl/index.html (Note that Danish locale is not among fully supported locales either for J2SE 1.4.x or for J2SE 5.0). As this bug has been reproduced only on an unsupported system, I mark this bug as INVALID.