[TYPO3-UG Dutch] encoding fout in gegenereerde html header
ries van Twisk
typo3 at rvt.dds.nl
Sun Sep 16 16:52:12 CEST 2007
Hoi Dick,
TYPO3 blijft niet van jouw HTML af omdat TYPO3 alleen geintreseerd is
in de template, en die staat in jouw body.
De head en doctype worden dus door TYPO3 zelf gegenereerd.
Als jij je template in UTF-8 wilt hebben,
kun je deze settings gebruiken:
config.metaCharset = utf-8
config.renderCharset = utf-8
In de install tool moet je dan je site instellen
zodat deze de BE in UTF-8 neerzet..
groet,
RIes
On Sep 16, 2007, at 8:37 AM, Dick Hoogendijk wrote:
> Ik gebruik een html file als template voor mijn site. Ik moet erbij
> vertellen dat ik pas net ben begonnen. Heb wat manuals doorgewerkt en
> ben razend enthousiast. Ik snap alleen niet waarom typo3 niet van mijn
> html file afblijft.
> Ik heb begrepen dat statische content met rust wordt gelaten.
> In mijn html file staat ipv ¨iso-8859-1¨ telkens utf-8 en toch wordt
> als de pagina wordt gegenereerd door typo3 het volgende toegevoegd /
> aangevuld / veranderd:
>
> ===voorbeeld===
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html
> PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> <head>
> <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1" />
>
> <!--
> This website is powered by TYPO3 - inspiring people to share!
> TYPO3 is a free open source Content Management Framework initially
> created by Kasper Skaarhoj and licensed under GNU/GPL.
> TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are
> copyright of their respective owners.
> Information and contribution at http://typo3.com/ and http://
> typo3.org/
> -->
>
> <link rel="stylesheet" type="text/css"
> href="typo3temp/stylesheet_e99aac0be0.css" />
> <meta http-equiv="Content-Type" content="text/html; utf-8"/>
> ===einde voorbeeld===
>
> Ik zou graag willen weten WAAR dit stukje vandaan komt en HOE ik
> de encoding in de header overal op utf-8 krijg. Want op deze
> manier klaagt de valinator ;-)
>
> Alvast dank.
>
> --
> Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
> ++ http://nagual.nl/ + Solaris 11 05/07 ++
> _______________________________________________
> TYPO3-UG-dutch mailing list
> TYPO3-UG-dutch at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
--
Ries van Twisk
Freelance TYPO3 Developer
email: ries at vantwisk.nl
web: http://www.rvantwisk.nl/
skype: callto://r.vantwisk
Phone: + 1 810-476-4193
More information about the TYPO3-UG-dutch
mailing list