You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Nikolai Varankine (Jira)" <ji...@apache.org> on 2019/09/01 20:49:00 UTC

[jira] [Comment Edited] (NETBEANS-3052) Wrong encoding in output window for jfxsa-run target

    [ https://issues.apache.org/jira/browse/NETBEANS-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16920512#comment-16920512 ] 

Nikolai Varankine edited comment on NETBEANS-3052 at 9/1/19 8:48 PM:
---------------------------------------------------------------------

If I add next configuration line, it reverses the problem: it fixes Run mode output but corrupts Debug mode output.
  
{panel:title=logging.properties}
java.util.logging.ConsoleHandler.encoding = windows-1251
{panel}
 

 


was (Author: nvtby):
If I add next configuration line, it reverses the problem: it fixes Run output but corrupts Debug output.
 
{panel:title=logging.properties}
java.util.logging.ConsoleHandler.encoding = windows-1251
{panel}
 

 

> Wrong encoding in output window for jfxsa-run target
> ----------------------------------------------------
>
>                 Key: NETBEANS-3052
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3052
>             Project: NetBeans
>          Issue Type: Bug
>          Components: ide - Logger, platform - Output Window
>    Affects Versions: 11.1
>         Environment: Product Version: Apache NetBeans IDE 11.1
> Java: 12; Java HotSpot(TM) 64-Bit Server VM 12+33
> Runtime: Java(TM) SE Runtime Environment 12+33
> System: Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
> Windows 10 version 1903 build 18362.295
>            Reporter: Nikolai Varankine
>            Priority: Major
>              Labels: ant, encoding
>
> 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:
> {panel:title=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.Контекст конфигурация
> {panel}
> {panel:title=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.Контекст конфигурация
> {panel}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists