Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4137321

i18n: javadoc should generate META charset tag for cross-platform viewing

XMLWordPrintable

    • 1.2.2
    • x86
    • windows_nt

      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.

            adambalksunw Atul Dambalkar (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: