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

C4819 warning at libfreetype sources on Windows

    Details

    • Subcomponent:
    • Resolved In Build:
      b03

      Backports

        Description

        https://mail.openjdk.java.net/pipermail/build-dev/2019-January/024581.html

        I tried to build OpenJDK on WSL (Windows 10 1809 + VS2017 (15.9.4) + Ubuntu 18.04 LTS).
        However, I saw C4819 warning as below:

        ```
        c:\openjdk\jdk\src\java.desktop\share\native\libfreetype\src\autofit\afscript.h: warning C4819: ファイルは、現在のコード ページ (932) で表示できない文字を含んでいます。データの損失を防ぐために、ファイルを Unicode 形式で保存してください。。
        ```

        * The locale of my laptop is set to Japanese (CP932)


        We can see the problem with iconv:
          $ iconv -f US-ASCII -t UTF8 <file>

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ysuenaga Yasumasa Suenaga
                  Reporter:
                  ysuenaga Yasumasa Suenaga
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: