Zen TYPO3 Forum

Our TYPO3 forum is available for freelancers, professionals and clients new to TYPO3 to discuss Basic TYPO3 templating, Typoscript, extension installation, administration and help with subscription templates. Please register for an account to post.

All Categories > TYPO3 General Discussion > Extensions > cbstarter garbles special characters
Total Posts: 2 - Pages (1): [1]
Author: mediatech
Posted: Jun 19 2007 - 04:32 PM
Subject: re: cbstarter garbles special characters
Matti,

There have been a few posts similar to this which is why I recommend commenting out everything in typo3conf/ext/cbstarter/scripts/localconf.php to disable the file entirely as shown below. This way you still have the benefit of using the extension to edit and add additional extensions to the RealURL configuration file without having to directly alter typo3conf/localconf.php.

For additional RealURL configuration options have a look at this thread here.

Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington

typo3conf/ext/cbstarter/scripts/localconf.php
<?php

/*
* localconf.php helper script
*
* Add the following to typo3conf/localconf.php
* require_once( 'ext/cbstarter/scripts/localconf.php' );
*
* @author Michael Cannon <michael@cannonbose.com>
* @version $Id: localconf.php,v 1.10 2007/06/06 16:31:33 cannon Exp $
*/

//$TYPO3_CONF_VARS['BE']['compressionLevel'] = '3';
//$TYPO3_CONF_VARS['BE']['fileCreateMask'] = '0664';
//$TYPO3_CONF_VARS['BE']['folderCreateMask'] = '0775';
//$TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';
//$TYPO3_CONF_VARS['BE']['lockIP'] = '0';
//$TYPO3_CONF_VARS['BE']['maxFileSize'] = '100000';
//$TYPO3_CONF_VARS['BE']['sessionTimeout'] = '32400';
//$TYPO3_CONF_VARS['BE']['trackBeUser'] = '1';
//$TYPO3_CONF_VARS['BE']['warning_email_addr'] = '';
//$TYPO3_CONF_VARS['BE']['warning_mode'] = '2';
//$TYPO3_CONF_VARS['FE']['lifetime'] = '32400';
//$TYPO3_CONF_VARS['FE']['lockIP'] = '0';
//$TYPO3_CONF_VARS['GFX']['enable_typo3temp_db_tracking'] = '1';
//$TYPO3_CONF_VARS['GFX']['png_truecolor'] = '1';
//$TYPO3_CONF_VARS['SYS']['curlUse'] = '1';
//$TYPO3_CONF_VARS['SYS']['ddmmyy'] = 'm/d/Y';
//$TYPO3_CONF_VARS['SYS']['displayErrors'] = '2';
//$TYPO3_CONF_VARS['SYS']['hhmm'] = 'g:i a';
//$TYPO3_CONF_VARS['SYS']['loginCopyrightShowVersion'] = '1';
//$TYPO3_CONF_VARS['SYS']['maxFileNameLength'] = '255';
//$TYPO3_CONF_VARS['SYS']['no_pconnect'] = 1;
//$TYPO3_CONF_VARS['SYS']['recursiveDomainSearch'] = '1';
//$TYPO3_CONF_VARS['SYS']['serverTimeZone'] = '0';
//$TYPO3_CONF_VARS['SYS']['textfile_ext'] = 'txt,pdf,html,htm,css,inc,php,php3,tmpl,js,sql';
//$TYPO3_CONF_VARS['SYS']['USdateFormat'] = '1';
//$TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = 'false';
//$TYPO3_CONF_VARS["FE"]['pageNotFound_handling_statheader'] = 'HTTP/1.0 404 Not Found';

// MLC for multi-byte content
//$TYPO3_CONF_VARS['SYS']['multiplyDBfieldSize'] = '2';
// $TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8;';
//$TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8;'.chr(10).'SET CHARACTER SET utf8;'.chr(10).'SET SESSION character_set_server=utf8;' ;

// MLC 20070416 Examples
// $TYPO3_CONF_VARS['BE']['unzip_path'] = '/usr/bin/';
// $TYPO3_CONF_VARS['GFX']["im"] = '1';
// $TYPO3_CONF_VARS['GFX']["im_path_lzw"] = '/usr/bin/';
// $TYPO3_CONF_VARS['GFX']["im_path"] = '/usr/bin/';
// $TYPO3_CONF_VARS['GFX']['im_version_5'] = 'gm';
// $TYPO3_CONF_VARS['GFX']['TTFdpi'] = '96';
// $TYPO3_CONF_VARS['SYS']['binPath'] = '/usr/local/bin,/usr/bin';
// $TYPO3_CONF_VARS['SYS']['devIPmask'] = '192.168.*,127.0.0.1,71.255.125.178';
// $TYPO3_CONF_VARS['SYS']['loginCopyrightWarrantyProvider'] = 'Cannonbose, LLC';
// $TYPO3_CONF_VARS['SYS']['loginCopyrightWarrantyURL'] = 'http://www.cannonbose.com/typo3-support.html';

?>
Author: debugger_systems
Posted: Jun 19 2007 - 10:00 AM
Subject: cbstarter garbles special characters
If I install the Cannonbose Sitestarter extension, all my special characters like å,ä,ö are changed to other wierd characters like brackets,chinese signs etc. (in IE6) or black diamonds with a questionmark in them (if I use Firefox). This goes for both the front end pages and the backend pages.

It looks like the cbstarter extension is a must-have so does anyone know how to fix this? I assume it is some kind of UTF8 issue but I have no idea where to even begin troubleshooting this.

Thanks,

Matti Jääaro
Debugger Systems
Total Posts: 2 - Pages (1): [1]
You must login to post a message to this conference.

 

CHC Forum provided by Cast Iron Coding

TYPO3 Support