I often work with template files in Netbeans 7.2: In TYPO3 with HTML and Fluid-based templates; in OXID eSales, with Smarty templates.
If the template file contains the charset variable, as shown below, Netbeans will warn you every time you open or save the file.
<meta http-equiv="Content-Type" content="text/html; charset=[{$oView->getCharSet()}]">
A warning:
The encoding [{$oView->getCharSet()}] specified in meta tag of the document base.tpl is invalid. Do you want to load the file using UTF-8 encoding? [Yes] [No]
How can I disable this?
(As a workaround, I usually replace [{$oView->getCharSet()}] with utf-8 , but it's ugly.)
source share