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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2
    • Resolution: Fixed
    • 7u6
    • 8
    • deploy

    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

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: