cassiopeus Posted November 6, 2012 Share Posted November 6, 2012 Hi, I have a trouble with diacritics in the footer. I try to modify footer.tpl (see code - red part, almost bottom of code) but diacritics is displayed wrong (see picture - a square on text in black strip). Is any possibility to displayed it right? a code of footer.tpl: {* * 2007-2012 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2012 PrestaShop SA * @version Release: $Revision: 6594 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if !$content_only} </div> <!-- Right --> <div id="right_column" class="column grid_2 omega"> {$HOOK_RIGHT_COLUMN} </div> </div> <!-- Footer --> <div id="footer" class="grid_9 alpha omega clearfix"> {$HOOK_FOOTER} [color=#ff0000] {*[/color] {if $PS_ALLOW_MOBILE_DEVICE} <p class="center clearBoth"><a href="{$link->getPageLink('index', true)}?mobile_theme_ok">{l s='Browse the mobile site'}</a></p> {/if} [color=#ff0000] *}[/color] [color=#ff0000]<p class="center clearBoth"> popisovače </p>[/color] </div> </div> {/if} </body> </html> Link to comment Share on other sites More sharing options...
vekia Posted November 6, 2012 Share Posted November 6, 2012 in which text editor you add changes to this file? Link to comment Share on other sites More sharing options...
cassiopeus Posted November 6, 2012 Author Share Posted November 6, 2012 in which text editor you add changes to this file? notepad++ Link to comment Share on other sites More sharing options...
vekia Posted November 6, 2012 Share Posted November 6, 2012 (edited) and which encoding type you use in this editor? Try to use utf-8 Edited November 6, 2012 by vekia (see edit history) Link to comment Share on other sites More sharing options...
cassiopeus Posted November 6, 2012 Author Share Posted November 6, 2012 and which encoding type you use in this editor? Try to use utf-8 thank you utf-8 works nice Link to comment Share on other sites More sharing options...
vekia Posted November 6, 2012 Share Posted November 6, 2012 so the problem is solved, when you edit tpl files or other (like php) remember to use coding exactly the same as coding in you website in this case - UTF-8 Link to comment Share on other sites More sharing options...
Recommended Posts