davinunesdasilva commented on issue #8783: URL: https://github.com/apache/netbeans/issues/8783#issuecomment-3262285770
Thank you for looking into this. I'm attaching a sample file that demonstrates the issue. The problem occurs with HTML fragment files that are designed to be partial documents without <head> sections, so they don't contain meta charset declarations like <meta charset="..."> or <meta http-equiv="Content-Type"...>. Since these fragments are legitimate HTML files that simply lack document headers by design, they should automatically inherit and open with the project's default charset setting rather than falling back to a different encoding when no meta tags are found. Em qua., 3 de set. de 2025 às 12:31, Matthias Bläsing < ***@***.***> escreveu: > *matthiasblaesing* left a comment (apache/netbeans#8783) > <https://github.com/apache/netbeans/issues/8783#issuecomment-3249740796> > > Please show a sample project that reproduces the problem. The > implementation first checks the two headers <meta charset="..."> and <meta > http-equiv="Content-Type" content="text/html; charset=..."/>. They will > overrule any project settings. > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/netbeans/issues/8783#issuecomment-3249740796>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AIEMXUXU2HVHZDGNJ7IKN4D3Q4CTZAVCNFSM6AAAAACFQ5I3TCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTENBZG42DANZZGY> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> > -- 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
