This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Some html files in the repository are missing the meta tag with the encoding or have the encoding set to an encoding other than utf-8. Tags without encoding could cause some corruption of characters when editing the files and cause problems for the translation team. The script on the site assigns a character encoding of UTF-8 to all pages regardless of the encoding of the original html file.
Ken, I am not sure if this is problem of the publishing system. Source pages should be all in utf-8. I could optionally add the hook to publishing which would try to inspect and convert it on the fly but it does not come for free in terms of final page load speed. Also this also do not resolve root cause which is that in content repo source file is not utf-8. Or what do you actually expect from this issue?
I agree that the root cause is that some files in the repository do not have the utf-8 encoding. So the issue is really how to accomplish this. Is there some way to at least find the files that are missing the encoding tag or specify something other than utf-8. We can then decide how important it is to modify those files. I think this mainly impacts the files that are translated.
this is list of kb/ files with non utf-8 charsets kb/articles/CreateWinkDemo.html:<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252"> kb/articles/netbeans_platform/index.html:<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> kb/articles/netbeans_platform/player.html:<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> kb/articles/quickstart-collaboration.html:<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> kb/articles/codebeamer-for-netbeans.html: content="text/html; charset=windows-1252"> kb/samples/gui-form-examples.html: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> kb/samples/webjpa.html: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> kb/samples/javaee-stateless.html: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> kb/samples/jsfjpa.html: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> kb/samples/paint-application.html: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> kb/samples/master-index.html: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> kb/samples/mobile-svg.html: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> kb/samples/gui-client.html: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> kb/samples/feedreader.html: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> kb/samples/mobile-game-builder.html: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> kb/samples/javaee-crud.html: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">