How does Unifier handle charset Meta tag in HTML files?
Top  Previous  Next


The following rules summarize how Unifier handles the charset meta tag.

·This option is effective for converting to UTF-8 encoding only  
·The file extension of the source file must be one of the following – htm, html, shtml, asp, php, php3 and phtml. Otherwise, Unifier just converts the file to Unicode without making any change to the content.  
·Unifier do not make any change to server-side script block. i.e. The content inside <% %> or <? ?> block would not be changed.  
·Similarly, the content within client-side script would not be changed. i.e. The content inside <script> </script> tag  
·The HTML comment block would not be changed. Thus, Unifier should not break SSI HTML files  
·Any original charset meta is remarked out using html comment tag i.e. <!-- -->  
·The following tag will be added when <head> block is found.  
 
<!-- * Begin * Added by Unifier -->  
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  
<!-- *  End  * Added by Unifier -->  

   
Note:

You may override which file extensions are treated as HTML by Unifier from File | Preferences command. Please read Preferences section for details.




See Also
Advanced Options