Welcome Guest, Not a member yet? Register   Sign In
Character encoding using lang()
#1

[eluser]rossmurphy[/eluser]
Hi all,

I am using the language helper for a multilingual site. I am finding that in my language files i have to use this:

Code:
$lang['label.category.payment'] = '<span class="bold">Tarjeta de Cr&eacute;dito y D&eacute;bito</span>';

Instead of this:

Code:
$lang['label.category.payment'] = '<span class="bold">Tarjeta de Crédito y Débito</span>';

However, if in the language line i don't used html i find that i dont have to character encode the text. But as you can see from the first example above, i have to encode the special chars.


Has anyone run into this problem?


Messages In This Thread
Character encoding using lang() - by El Forum - 11-27-2009, 08:24 AM
Character encoding using lang() - by El Forum - 11-27-2009, 09:09 AM
Character encoding using lang() - by El Forum - 11-27-2009, 01:30 PM
Character encoding using lang() - by El Forum - 11-28-2009, 02:48 PM
Character encoding using lang() - by El Forum - 12-05-2009, 09:49 AM
Character encoding using lang() - by El Forum - 12-05-2009, 11:53 AM
Character encoding using lang() - by El Forum - 12-06-2009, 09:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB