Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4137321
Votes 0
Synopsis i18n: javadoc should generate META charset tag for cross-platform viewing
Category doclet:tbd
Reported Against 1.1.3
Release Fixed 1.2.2
State 10-Fix Delivered, request for enhancement
Priority: 3-Medium
Related Bugs 4034096 , 4210341
Submit Date 12-MAY-1998
Description
The customer is developing a PlugIn for Java WorkShop 2.0, 
including a Japanese on-line doc for the PlugIn.
The customer complains that javadoc-generated document cannot be viewed
using JWS 2.0 on-line viewer.  This is because the customer
writes the Java code on PC in Shift-JIS encoding, ran javadoc
on PC, and the generated .html file does not have an encoding
announcement embedded, and JWS's help browser defaults to EUC (because
the help files supplied by Sun is in EUC, the Solaris's standard).
This weren't be a problem if javadoc generates an encoding announcement, i.e.,

    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=Shift_JIS">

or

    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=EUC-JP">

depending on the encoding of the platform where javadoc is run,
in between <HEAD> and </HEAD>.  The charset name to be used must
be taken from the IANA registry, not those of Java encoding names
(I.e., use EUC-JP instad of EUCJIS).


Japan Software Center would also like this feature.  Not having this feature,
we had to write a script to insert the META tag to the generated files,
complicating the build process.
Work Around
Support JISAutoDetect in the help browser.
  xxxxx@xxxxx   1998-07-02
Evaluation
I have few questions about IANA registry.
-  xxxxx@xxxxx  

Asked Laura Werner if this is a duplicate of her bug 4197265
  xxxxx@xxxxx   1998-12-19

Added Laura's reply to "Comments"
  xxxxx@xxxxx   1999-01-13
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang