matthiasblaesing commented on issue #8668:
URL: https://github.com/apache/netbeans/issues/8668#issuecomment-3104769640

   Your claim is wrong. There is nothing chinese in there, just an editor, that 
guesses the wrong encoding.
   
   - This is the output from a test upload session: 
[demo.zip](https://github.com/user-attachments/files/21375265/demo.zip) (zipped)
   - gedit detects the wrong encoding and outputs garbage:<br /><img 
width="982" height="266" alt="Image" 
src="https://github.com/user-attachments/assets/d5e08a73-8e1e-4b95-b89c-baed54f9759e";
 />
   - cat does better:<br /><img width="560" height="504" alt="Image" 
src="https://github.com/user-attachments/assets/7756c093-0249-476f-80f1-256aad810304";
 />
   - and looking at the file with a hex dump tool shows the reason:<br /><img 
width="580" height="194" alt="Image" 
src="https://github.com/user-attachments/assets/6dbaf106-ccad-4547-8757-742ba41c1efd";
 />
   
   As you can see in the hexdump output, the first character in the file `2` is 
encoded as the byte sequence 0x00 0x32. That is the UCS-2/UTF-16 encoding of 
ASCII `2`:
   
   https://www.compart.com/en/unicode/U+0032
   
   So please remove the exaggerated claim from youtube. There is no chinese AI 
taking over the world and skynet will not kill us.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to