Forums / Setup & design / Encoding problem

Encoding problem

Author Message

Steph A

Friday 10 February 2006 5:18:37 am

I have just tried to use flash applications in my ez innstallation, and for this I have to import some XML content with XML-connector in flash.

The problem accured when trying to read this in flash. All special chars (norwegian) did not show as they should. The reason for this - I found out was the encoding of the templates. So I then changed template-encoding standard to UTF-8.

But now the rest of my content is not showing as it should....

Is this because the encoding of my database probably is latin-1 ?

What can I do?

Steph A

Saturday 11 February 2006 9:56:02 am

I finally made it work!

Make sure your mysql-database is set to UTF-8. Change the templates (site.ini, template.ini and i18.ini). I am also using the fck-editor, and then you also must make sure that the template literal.tpl - is encoded into UTF-8. Because this made some extra unwanted symbols in the content (two questionmarks where shown) - this is probably because the template was written with another encoding, and the data corrupted due to this conversion.

Anyway, now my content is looking fine - and my flash application (with XML connector) reads the XML output just fine (with norwegian special chars.).

:D