botmez Posted November 23, 2011 Share Posted November 23, 2011 Bonjour le validateur w3c affiche une erreur de ce type ' The error was: utf8 "\x94" does not map to Unicode' lorsque jinsere le TPL du module Slie new products sur le site... Voici le code du TPL: <!-- MODULE Slide Featured Products --> <h2>{l s='new products' mod='slidenewproducts'}</h2> <div id="slider"> <div id="mover"> {if $new_products} {counter start=0 assign=nbPrd} {foreach from=$new_products item=product name=myLoop} {if $nbPrd == 0} <div id="slide-1" class="slide"> {else} <div class="slide"> {/if} <h1><a href="{$product.link}" title="{$product.name|escape:htmlall:'UTF-8'|truncate:30}">{$product.name|escape:htmlall:'UTF-8'|truncate:30}</a></h1> <p class="product_desc"><a href="{$product.link}" title="{l s='More' mod='homefeatured'}">{$product.description_short|strip_tags:htmlall:'UTF-8'|truncate:150}</a></br></br> <h2>{displayWtPrice p=$product.price}</h2> <a href="{$product.link}" title="{$product.legend|escape:htmlall:'UTF-8'}" class="product_image"><img src="http://www.monsite.fr/img/p/{$product.id_image}-home.jpg" alt="{$product.legend|escape:htmlall:'UTF-8'}" height=”{$product.image.height}” width=”{$imagetype.width}” /></a> </div> {counter print=false} {/foreach} {else} <p>{l s='No new product at this time' mod='slidenewproducts'}</p> {/if} </div> </div> <!-- /MODULE Home Featured Products --> Je pense que c'est au niveau UTF8 mais comment resoudre cela ? Merci de vos reponses, Nadine Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now