Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I have problems to encode contact form emails into my country iso2
Thunderbird shows iso8859-15(sic!)
How to set my iso8859-2
in my class that extends UserDefinedForm_Controller
private function encode( $submitedFields )
$submitedFields->current()->Title = iconv( "utf-8", "iso8859-2", $submitedFields->current()->Title );
$submitedFields->current()->Value = iconv( "utf-8", "iso8859-2", $submitedFields->current()->Value );
I've had some troubles with emails too and solved it by changing all the charsets in
I think it's at about 5 or 6 places in that file that you can replace it.
Hope that helps.
I've reported this in the issue tracker @ http://open.silverstripe.com/ticket/2176