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.
Summary: | I18N - switching between locales problems | ||
---|---|---|---|
Product: | platform | Reporter: | Pavel Rehak <prehak> |
Component: | Filesystems | Assignee: | rmatous <rmatous> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | kfrank, mmirilovic, mpetras |
Priority: | P2 | Keywords: | I18N |
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screenshot |
Description
Pavel Rehak
2006-04-11 08:27:50 UTC
Created attachment 29747 [details]
screenshot
The described problems are mostly caused by the fact that the source code editor and the compiler do not know which encoding to use for displaying and compiling the file. Most probably both the editor and the compiler use the default encoding for the current locale. If the encoding it specified for Java source files (in the Options dialog), the files are displayed correctly. The same is probably true for the compiler - it must be set in the project's properties. It may also happen that the multibyte characters are not properly rendered in the IDE - this is a matter of the JDK whether it uses the appropriate fonts. None of these issues can be fixed or otherwise influenced by the I18n module - reassigned to (pseudo-)module IDE for further dispatch. if the encoding for the java files is changed to the ja or utf8 one when you are in cz locale, does it work or still problems in showing the ja characters created when in ja locale. I realize that the ide does not have any universal kind of encoding detection, but wondering, if utf8 used when in ja locale, then make sure its used when in cz locale, does it help. for the compiler, however, is there an option for that just like there is for editor ? ken.frank@sun.com #42638 necessary for fixing this sort of problems *** This issue has been marked as a duplicate of 42638 *** |