Use "ISO-8859-1" to display Cascade content

Allie's Avatar

Allie

15 Jun, 2010 05:29 PM

Hi there,

I need to display content returned from database using ISO-8859-1as the charset. I tried to put the following in a template:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> However, it is always changed back to UTF-8 by Cascade after saving the template (without errors):
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

What should I do to use ISO-8859-1 to display content in Cascade? Thanks!

Allie

  1. Support Staff 1 Posted by Tim on 15 Jun, 2010 06:16 PM

    Tim's Avatar

    Hi Allie,

    Try creating a new region in your Template - perhaps something like: <system-region name="CHAR-SET"/>

    Then, create a new XML block that only contains:
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"/>

    Plug the XML block into your new region and see if that does the trick.

  2. 2 Posted by Allie on 15 Jun, 2010 08:24 PM

    Allie's Avatar

    Thanks, Tim! It worked.

  3. Allie closed this discussion on 15 Jun, 2010 08:24 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac