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 86981 - I18N: RFE - add UTF-8 charset tag into project template html file
Summary: I18N: RFE - add UTF-8 charset tag into project template html file
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-10-12 02:18 UTC by Masaki Katakai
Modified: 2006-11-03 19:38 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2006-10-12 02:18:10 UTC
When we create a new project template in plugin module, the default
html file for project "Description" would be below,

<html>
    <body>
       Sample @@DISPLAYNAME@@ project
    </body>
</html>

I think it comes from
project/src/org/netbeans/modules/apisupport/project/ui/wizard/project/templateDescription.html

It will be displayed on description field on Wizard.

It would be nice if this html file has the charset metatag like

<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">

so that localization folks do not need to add this meta tag by hand.
Comment 1 Jesse Glick 2006-10-12 16:30:56 UTC
Fixed with a similar case.

Checking in wizard/wizardDescription.html;
/shared/data/ccvs/repository/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/wizard/wizardDescription.html,v
 <--  wizardDescription.html
new revision: 1.2; previous revision: 1.1
done
Checking in project/templateDescription.html;
/shared/data/ccvs/repository/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/project/templateDescription.html,v
 <--  templateDescription.html
new revision: 1.4; previous revision: 1.3
done

There are two possible interpretations of your request:

1. Please add a charset tag to all HTML files in apisupport/project/**/*.html so
if we need to localize the apisupport/project project it will be easier.

2. Please add a charset tag to those HTML files in
apisupport/project/src/**/*.html which will be copied into a user module project
after running a wizard, so that if someone needs to localize that project it
will be easier.

I think you meant #2.
Comment 2 Ken Frank 2006-10-12 19:14:41 UTC
even #1 will be helpful to have meta charset tag defined if those
files will be localized since it helps l10n not need to add the
whole meta charset line but just change the UTF-8 value to
what is needed for their locale.

ken.frank@sun.com