Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin doesn't support Cyrillic path [BUG] #100

Open
Ilya-Zhulin opened this issue Feb 13, 2024 · 2 comments
Open

Plugin doesn't support Cyrillic path [BUG] #100

Ilya-Zhulin opened this issue Feb 13, 2024 · 2 comments

Comments

@Ilya-Zhulin
Copy link

Describe the bug
I have a cyrillic path to my NB project. When plugin ties to compile JS files it doesn't minify them with such an error:
ERROR - [JSC_READ_ERROR] Cannot read file D:/YandexDisk/��� ���������/���������/NetBeansProjects/Korekozevo-24/templates/simple_blank/themes/korekozevo/js/korekozevo.js
I typed full path to cleat my problem.

To Reproduce
Steps to reproduce the behavior:

  1. Replace or create some project to folder named with non-Latin symbols
  2. Create or open existing JS file
  3. Try to minnify it.
  4. See error

Expected behavior
I've tried to change project encoding to UTF-8 or windows-1251 - no result

Screenshots
image
image

Environment (please complete the following information):
Product Version: Apache NetBeans IDE 20
Java: 21; Java HotSpot(TM) 64-Bit Server VM 21+35-LTS-2513
Runtime: Java(TM) SE Runtime Environment 21+35-LTS-2513
System: Windows 11 version 10.0 running on amd64; UTF-8; ru_RU (nb)

Additional context
Early I posted such pronlem, but now I can't replace my project and really need to solve it. Thanks.

@Chris2011
Copy link
Owner

Ähm first, please have a look into the issue section whether this was already a problem (opened/closed) second, you are the initial author of exact this problem: #90 We already had this.

@Chris2011
Copy link
Owner

Chris2011 commented Mar 22, 2024

Hey @Ilya-Zhulin I have good news for you, I worked on a workaround for this. I will release it soon. I already tested it and it worked quite well.

@Chris2011 Chris2011 reopened this Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants