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 251718 - Unable to launch IDE in a folder with non-ascii characters
Summary: Unable to launch IDE in a folder with non-ascii characters
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-08 12:23 UTC by stophi
Modified: 2015-04-08 12:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Successful launch of NetBeans 7.3 with non-ascii char in path (35.58 KB, application/octet-stream)
2015-04-08 12:23 UTC, stophi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stophi 2015-04-08 12:23:06 UTC
Created attachment 153095 [details]
Successful launch of NetBeans 7.3 with non-ascii char in path

Action:
1) Copy NetBeans 7.4 to a path that contains non-ascii characters (e.g. "C:\Users\Max Müller\NetBeans")
2) Launch netbeans.exe

Actual Behavior: 
NetBeans does not start up, error message: "Cannot be run from folder that contains non-ASCII characters in path."

Expected Behavior:
NetBeans should start, because it was possible in NetBeans 7.3. To me, this is an incompatible change.


The Reason, why it's not working anymore, is the fix for Bug #222850, see http://hg.netbeans.org/main-golden/diff/50a5e3d432ba/ide/launcher/windows/nblauncher.cpp

I think this bugfix is too rough. NetBeans was starting in many cases and had no problems even if the path contained non-ascii characters. 

I would accept the recommendation to just use a path with non-ascii characters, but we have one problematic use case:
We have a NetBeans Platform based Application that is installed by users that don't have admin rights on their Windows machine. So the most reasonable option is to install the application to their user directory. But if their Windows user name contains non-ascii characters, this is not possible with NetBeans 7.4 (and later).