This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270281 - Problems with non ASCII characters
Summary: Problems with non ASCII characters
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-03 10:57 UTC by rudyment
Modified: 2017-04-03 11:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project announcing problem with compilation (779.15 KB, application/x-zip-compressed)
2017-04-03 10:57 UTC, rudyment
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rudyment 2017-04-03 10:57:21 UTC
Created attachment 164008 [details]
Project announcing problem with compilation

IDE has sometimes problems witch compiling projects with nonASCII characters on path. E.g. in attached project it announces:

Compiling 65 source files to C:\#D\Aktivity\NetBeans\2017-04-02_\ERR_NB_NonASCII\build\classes
javac: invalid flag: C:\
Usage: javac <options> <source files>
use -help for a list of possible options
C:\#D\Aktivity\NetBeans\2017-04-02_\ERR_NB_NonASCII\nbproject\build-impl.xml:930: The following error occurred while executing this line:
C:\#D\Aktivity\NetBeans\2017-04-02_\ERR_NB_NonASCII\nbproject\build-impl.xml:270: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)

However BlueJ compiles the same project without problems
despite both IDEs use the same compiler.

Similar ptoblems are with some Libraries.
It cannot find some classes in the library at
c:\#D\SVN_PGM\@E_Vyuka\@@E_Adventura\Adv_17s\Adv_17s_FW\dist\Adv_17s_FW.jar

Again: BlueJ has not problem with it.

Sometimes it has even problem with standard library.
I think it is because the JDK is installed in the folder
c:\_PGM\Java\JDK+JRE\JDK_8_64\


Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_121
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.121-b13
Comment 1 rudyment 2017-04-03 11:08:29 UTC
The oreviously metnioned error were announced, when the project is located at
C:\#D\Aktivity\NetBeans\2017-04-02_\ERR_NB_NonASCII\

When I susbstitued the C:\#D\ directory for disk D:
and open the project on disk D:, IDE announced:

Updating property file: D:\Aktivity\NetBeans\2017-04-02_\ERR_NB_NonASCII\build\built-jar.properties
Compiling 65 source files to D:\Aktivity\NetBeans\2017-04-02_\ERR_NB_NonASCII\build\classes
javac: file not found: D:\Aktivity\NetBeans\2017-04-02_\ERR_NB_NonASCII\ERR_NB_NonASCII_SRC\eu\pedu\adv17s\_4_1615\palv00_palatinus\Hráč.java
Usage: javac <options> <source files>
use -help for a list of possible options
D:\Aktivity\NetBeans\2017-04-02_\ERR_NB_NonASCII\nbproject\build-impl.xml:930: The following error occurred while executing this line:
D:\Aktivity\NetBeans\2017-04-02_\ERR_NB_NonASCII\nbproject\build-impl.xml:270: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)

As I have already said, BlueJ has no problem in both locations.