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 - I18N - DTD Documentation file doesn't use project encoding
Summary: I18N - DTD Documentation file doesn't use project encoding
Status: VERIFIED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: XML (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: John Jullion-ceccarelli
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-04-22 17:15 UTC by kaa
Modified: 2008-04-25 13:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)