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

[macosx] NLS: .strings files do not have UTF-16 BOM

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 8
    • Component/s: deploy
    • Labels:

      Backports

        Description

        The string files in jdk7u-dev forest do not have UTF-16 BOM (byte order mark) in the beginning of the file:
        deploy/src/plugin/macosx/controlpanel/prefpane/en.lproj/JavaControlPanel.strings
        deploy/src/plugin/macosx/controlpanel/prefpane/en.lproj/InfoPlist.strings

        WPTG now supports translation of .strings files, but the files were rejected due to missing BOM. I was able to manually convert the files to UTF-16 using
        % iconv -f UTF-8 -t UTF-16 utf8_file > utf16_file

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  cbensen Chris Bensen (Inactive)
                  Reporter:
                  mfang Michael Fang (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: