N
N
Nyakator2017-02-25 15:51:47
Character encoding
Nyakator, 2017-02-25 15:51:47

What if Netbeans tries to open UTF-8 file as CP1251?

The toaster refused to accept pictures, so below I will post screenshots on the Yandex disk. When trying to open a file in UTF-8 encoding ,
netbins warns that it is not safe https://yadi.sk/i/MEgOOz7a3Ea53L yO7CbETW3Ea55E Atome and Notepad++ display both languages ​​normally. I tried resaving or converting with iconv, nothing changed Here is an example file https://yadi.sk/d/qJJ5WU523Ea5N3

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nyakator, 2017-02-25
@Nyakator

Found a solution to the problem, to fix this problem, you need to add a parameter to netbeans_default_options: -J-Dfile.encoding=UTF-8 in the /etc/netbeans.conf file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question