Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-6298

Match NetBeans console encoding to system/app console encoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 12.0, 12.1, 12.2, 12.3, 12.4, 12.5, 12.6, NB13, 13
    • None
    • cnd - Editor
    • None
    • Windows 10、JDK1.8.201、Maven3.6.0、Netbeans12.6、Project encoding UTF-8

    Description

      My Windows OS language is Simplified Chinese and the default OS encoding is GBK. When I open a properties file or a text file, the editor shows the file contents as garbled, if I add the parameter -J-Dfile.encoding=UTF-8, the editor opens the file in UTF-8 encoding format and the file is not garbled, but the console output is garbled.

      Attachments

        1. screenshot-3.png
          38 kB
          Aleksandr Dubinsky
        2. screenshot-2.png
          21 kB
          Aleksandr Dubinsky
        3. screenshot-1.png
          78 kB
          Aleksandr Dubinsky
        4. Garbled.png
          116 kB
          luke
        5. Garbled.gif
          1.48 MB
          luke
        6. full_output.png
          79 kB
          luke
        7. console-output-well.png
          79 kB
          luke

        Issue Links

          Activity

            People

              Unassigned Unassigned
              randyluke luke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: