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: | Use of diacritics not possible in ant build files | ||
---|---|---|---|
Product: | projects | Reporter: | Elmar Zander <zandere> |
Component: | Ant | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED WONTFIX | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
URL: | http://ant.netbeans.org/faq.html | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 20532 | ||
Bug Blocks: |
Description
Elmar Zander
2001-11-28 20:16:57 UTC
Please see the FAQ (URL above). Making modifications to the build script in the Explorer currently uses a quick-and-dirty XML regenerator which cannot easily keep your encoding intact (so it chooses UTF-8 as the best general encoding instead). I think NetBeans 3.4 will replace the Ant module's ad-hoc XML handling code with better general code from the XML module, which should work with encodings correctly (your #2 I believe), as well as solving many other problems. As a workaround, assuming you want to keep diacritics, just edit the build script as text. The text editor will not touch the encoding declaration of course, and if the characters are in ISO-8859-1 and that is your platform default encoding, there should be no problem. It is only making modifications structurally from the Explorer view of the build script that causes the problem. verified / closed |