[TYPO3-english] set charset

Markus Klein klein.t3 at mfc-linz.at
Mon Jan 23 17:04:45 CET 2012


Of course you can have things much easier by using

config.doctype = html5

It should take care about these things. (4.5+)

Kind regards
Markus


> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of Markus Klein
> Sent: Friday, January 20, 2012 10:51 AM
> To: 'TYPO3 English'
> Subject: Re: [TYPO3-english] set charset
> 
> Hi!
> 
> This has nothing to do with charsets.
> 
> Either disable all headers or implement the hook
> $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-postProcess'].
> Where you can simply modify the page renderer.
> Example:
> $params['metaCharsetTag'] = '<meta charset="|" />';
> 
> Kind regards
> Markus
> 
> > -----Original Message-----
> > From: typo3-english-bounces at lists.typo3.org
> > [mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of Richard
> > Davies
> > Sent: Thursday, January 19, 2012 9:41 PM
> > To: TYPO3 English
> > Subject: Re: [TYPO3-english] set charset
> >
> > Hi,
> >
> > Check out the tsref:
> >
> > http://typo3.org/documentation/document-library/references/doc_core_ts
> > ref/4.1.0/view/7/3/ I only looked quickly, but you should check out
> > renderCharset and metaCharset, if you can't do it with those, use
> > disableCharsetHeader = 1 and then add it manually with additional header data.
> >
> > Richard
> >
> > On 20 January 2012 05:42, Enrique Moreno Tent
> > <enriquemorenotent at gmail.com>wrote:
> >
> > > Hey fellas.
> > >
> > > Im trying to turn this line:
> > >
> > > <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
> > >
> > > into this line:
> > >
> > > <meta charset="utf-8">
> > >
> > > Any idea how I could do this?
> > > _______________________________________________
> > > TYPO3-english mailing list
> > > TYPO3-english at lists.typo3.org
> > > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> > >
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list