HTML charset

In order to correctly handle application data in the User Agent, the HTML page charset needs to be set.

Because the Genero Application Server (GAS) generates HTML5 pages from templates, the charset needs to be defined in templates.

Example

This example is from $FGLADIR/tpl/SetHtml5/bootstrap.xhtml with BIG5 (Chinese) charset:

<?xml version="1.0" encoding="BIG5"?>
<!DOCTYPE html>
<html>
  <head>
    <meta             
      charset="BIG5"
    />
    <meta             
     content='text/html; charset=BIG5'
     http-equiv='Content-Type'
    />
...