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

   As you did not provide a project, I created one from scratch (Type: 
"HTML5/JS Application with Node.js"). I created two files inside 
`fragment_iso-8859-1.html` and `fragment_utf8.html` where the first ist 
ISO-8859-1 encoded and the latter is UTF-8 encoded. Both contain the same text, 
just different encoding with characters outside the ASCII range.
   
   Project is set to ISO-8859-1 encoding:
   
   <img width="839" height="607" alt="Image" 
src="https://github.com/user-attachments/assets/8734734d-94c2-4ecd-a6db-3e452f858b25";
 />
   
   With that setting a file in that encoding is correctly opened:
   
   <img width="350" height="165" alt="Image" 
src="https://github.com/user-attachments/assets/33502f28-3bec-42e9-8ec2-1936ce85c674";
 />
   
   and a file in UTF-8 encoding shows "broken" characters:
   
   <img width="424" height="173" alt="Image" 
src="https://github.com/user-attachments/assets/1a2a7001-5871-494a-ba22-b8a4b0cc1495";
 />
   
   Closing both files and switching project to UTF-8 I get for the 
`fragment_utf8.html` file:
   
   <img width="424" height="173" alt="Image" 
src="https://github.com/user-attachments/assets/d334fe75-1589-4595-9435-29343c605944";
 />
   
   and for the ISO-8859-1 file:
   
   <img width="751" height="294" alt="Image" 
src="https://github.com/user-attachments/assets/36bf7a89-1835-449d-b594-83428eb3cc2f";
 />
   
   So this is a works-for-me. So I repeat my request: Please provide a minimal 
sample project, that reproduces the issue. 


-- 
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