You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/06/23 16:52:46 UTC

[GitHub] [netbeans] duoduobingbing commented on issue #4259: Can not write utf-8 on Netbeans 14

duoduobingbing commented on issue #4259:
URL: https://github.com/apache/netbeans/issues/4259#issuecomment-1164648152

   @s1mpleluluvn 
   
   1. Do you have your Netbeans set to UTF-8? When you look under `Help -> About` what Encoding does it report?
   There should be some string like *Windows 10 20H2 running on x64; UTF-8; nl_NL (nb)*. The part before the locale is the encoding Netbeans uses.
   
   2. When you create a simple Maven project and let it print out the following:
   ```
   System.out.println(Charset.defaultCharset());
   System.out.println(System.getProperty("file.encoding"));
   System.out.println(System.getProperty("native.encoding"));
   System.out.println(System.getProperty("sun.jnu.encoding"));
   ```
   What does it say/What is the output?
   
   3. When you copy the string with the question marks to another editor, do the signs show up correctly?
   (E.g. go into Netbeans, write something like `Đây là phiên bản UniKey mới nhất.`. Then get `??y l? phi?n b?n UniKey m?i nh?t.` and copy this over to something like `notepad.exe`. Does Notepad also show `??y l? phi?n b?n UniKey m?i nh?t.` or does it show `Đây là phiên bản UniKey mới nhất.` for the text copied from Netbeans?)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists