[TYPO3-english] set charset
Brian Hauge Hansen
b.hansen at mobilethink.com
Fri Jan 20 13:14:11 CET 2012
Also you can use the html5boilerplate extension to set what you would like
in the header:
Ex:
config.html5boilerplate{
# This replaces the html tag with some conditional comments for IE and a
no-js class
htmlTag (
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js ie9" lang="en"> <![endif]-->
<html class="no-js" lang="en">
)
# Make sure the meta charset is short and sweet
metaCharsetTag = <meta charset="|">
}
--
Best Regards / Med venlig hilsen
Brian Hauge Hansen
Project Manager
Mobilethink-
Ny Banegaardsgade 55
8000 Aarhus C
Denmark
Phone: +45 86 20 78 05
Mobile: +45 25 21 20 02
Email: b.hansen at mobilethink.com
<mailto:support at mobilethink.com>Web: www.mobilethink.dk
<http://www.mobilethink.dk/>
Come see us at MOBILE WORLD CONGRESS 2012 at stand 1F68
On 1/20/12 10:51 AM, "Markus Klein" <klein.t3 at mfc-linz.at> wrote:
>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_tsref
>>/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