Difference between revisions of "Talk:CharsetEncoding"

From MPDLMediaWiki
Jump to navigation Jump to search
m
Line 31: Line 31:
</code>
</code>


These fonts are only relevant for the display of latin characters (e.g. Westlich (ISO-8859-1).
These fonts are relevant for the display of latin characters (e.g. Westlich (ISO-8859-1). If UTF-8 Characters need to be displayed under Windows/IE

Revision as of 10:12, 27 October 2009

HTML[edit]

Currently the charset encoding is handed over in HTTP header:

      <jsp:directive.page pageEncoding="UTF-8" />

Some pages (Login Page) come with encoding handed over in the html head:

     <head>
       <title>eSciDoc - Login page</title>
       <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
     </head>

Display of Characters in Different Browsers[edit]

Although the page comes with proper encoding the browser needs to have a font witch contains the characters needed to be displayed. Fonts are maintained by the operating system. They can be requested via CSS (appearance.css):

       body, label, input, textarea, select, button, input.numberLabel, h2, h3, h6, a {
       font-family: Trebuchet, "Trebuchet MS", sans-serif;
       }
       input[type=text], textarea {
       font-family : Courier, "Courier New", serif;
       }
       h1, h4, h5 {
       font-family: "Myriad Pro Condensed", "Arial Narrow", sans-serif;
       }

These fonts are relevant for the display of latin characters (e.g. Westlich (ISO-8859-1). If UTF-8 Characters need to be displayed under Windows/IE