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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 7u6
    • deploy

        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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: