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

Wrong encoding in output window for jfxsa-run target

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 11.1
    • None

    Description

      When JavaFX application runs, logger records display corrupted text unless it is plain ASCII. Same application in debug mode displays same strings correctly. Cyrillic subset of UTF-8 is involved. The project transitioned automatically form NetBeans 8.2 to 10.0 to 11.1.
      Presentation difference was noticed: in Run mode, text is likely a part of total (ant?) report and is black and prefixed. In Debug mode, text is colored and has no extra information. Examples are shown below, the difference is in last line:

      Run mode

      jar:

      -check-concurrent-runs:

      -create-temp-run-dir:
      [copy] Copying 124 files to C:\Users\...fx\dist\run213104086

      jfx-project-run:
      [echo] Executing C:\Users\...fx\dist\run213104086\brains-fx.jar using platform C:\Program Files\Java\jdk1.8.0_202/bin/java
      [java] сен 01, 2019 6:35:31 PM com.varankin.brains.Контекст конфигурация

      Debug mode

      jfxsa-debug-on-another-platform:
      BUILD SUCCESSFUL
      Total time: 6 seconds
      Deleting: C:\Users\...fx\debug-another-platform.properties
      init:
      jfx-project-debug-on-another-platform:
      jfx-project-debug:
      Executing C:\Users\...fx\dist\run66203463\brains-fx.jar using platform C:\Program Files\Java\jdk1.8.0_202/bin/java
      сен 01, 2019 4:28:14 PM com.varankin.brains.Контекст конфигурация

      Attachments

        Activity

          People

            Unassigned Unassigned
            nvtby Nikolai Varankine
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: