iconv is evil. Its implementation varies vastly from site to site.
symfony relies on iconv for non utf-8 charsets, but this is a big
mistake.

You should rather convert everything to utf-8 once and for all, and
never bother about encodings ever again.

On 19 mar, 14:26, Lukas Kahwe Smith <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am using __() with a database backend. The tables are latin-1 and the
> accented characters (like "Chequeo rĂ¡pido  60 minutos / 24 horas") are
> pulled properly from the database and cached by symfony.
>
> When I output the page I end up with "?" instead of the accented
> character in Firefox.
>
> This is in my layout.php
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head>
> <?php echo include_http_metas() ?>
>
> Adding:
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> Did not help ..
>
> This in my settings.yml
>      # Charset used for the response
>      charset:                utf-8
>
> Commenting this out did not work either. Setting "ISO-8859-1" instead of
> "utf-8" gave me an error on iconv() on my windows laptop.
>
> I once knew what to do about issues like these .. been too long I guess
> .. maybe some symfony magic is tripping me up as well ..
>
> regards,
> Lukas


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to