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.

Bug 133695

Summary: I18N - DTD Documentation file doesn't use project encoding
Product: usersguide Reporter: kaa <kaa>
Component: XMLAssignee: John Jullion-ceccarelli <johnjullion>
Status: VERIFIED FIXED    
Severity: blocker CC: kfrank
Priority: P2 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description kaa 2008-04-22 17:15:56 UTC
Product Version: NetBeans IDE Dev (Build 200804210001)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb)

Steps:
1. Create XML doc (project encoding windows-31j)
2. Invoke Generate DTD from the pop-up
3. Select dtd file then invoke Generate Documentation... from the pop-up
4. Open html file in the editor

Html file will be generated with UTF-8 value of encoding tag.
With UTF-8 project encoding file looks ok.

If this is expected behavior please state this in the issue and close.
Comment 1 Samaresh Panda 2008-04-23 19:39:00 UTC
One more hard-coding.
Comment 2 Samaresh Panda 2008-04-23 20:32:51 UTC
Fix integrated: http://hg.netbeans.org/main/rev/f45ff3cf7878.
Comment 3 kaa 2008-04-24 17:55:50 UTC
Product Version: NetBeans IDE Dev (Build 20080424124045)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb)