Of "ěščřžýáé" it didn't print correctly only "ěšč" but it did after *"SET MAVEN_OPTS=-Dfile.encoding=utf-8"* *https://stackoverflow.com/questions/3017695/how-to-configure-encoding-in-maven#comment118645046_3018152 <https://stackoverflow.com/questions/3017695/how-to-configure-encoding-in-maven#comment118645046_3018152>* first answerm 4th comment
Il giorno dom 23 gen 2022 alle ore 11:27 Vladimir Machat <[email protected]> ha scritto: > Hi all, > > Trying to print out special Czech characters on Windows: > > System.out.prinltn("ěščřžýáé"); > > results only in just a bunch of question marks in the output window. > > I am pretty sure, that some time ago, when I wrote here about problems > with input in Maven project (which was promptly resolved by Michal Bien > in PR #3289) it worked fine. > > It also works perfectly fine on Linux, or using Ant project. It's just > the Maven project on Windows. > > I tried adding -J-Dfile.encoding=UTF-8 to netbeans.conf - nothing changed. > > I also tried to play with the file encodings settings, but changing it > to cp1250 didn't help. > > And I also tried different versions of Netbeans (12.5, 12.6, 13RC) and > Maven (3.6.3 and 3.8.4) all the same. Which is weird, because as I said, > I believe that it worked not long ago. > > Changing fonts in Netbeans didn't help too. > > Any ideas? > > > Thanks > > Vlad >
