Euro sign shows as € when form is submitted |
[eluser]cheungj[/eluser]
[quote author="InsiteFX" date="1340914711"]htmlentities [/quote] Thanks for the response. htmlentities didn't work for me though. Ok, I want to better explain this... Currently, my database is storing the € sign as '& euro;' (without the space). I am displaying it in a textarea on a form as the euro sign -- €. I'm then retrieving the textarea in a post in the controller: Code: $description $this->input->post('description'); This is when 'accept-charset' => 'ISO-8859-15' OR when 'accept-charset' => 'ISO-8859-1'. When 'accept-charset' => 'UTF-8', the € sign is displayed as €. It seems as if the form's accept-charset is incorrect. |
Messages In This Thread |
Euro sign shows as € when form is submitted - by El Forum - 06-27-2012, 03:22 AM
Euro sign shows as € when form is submitted - by El Forum - 06-27-2012, 05:31 AM
Euro sign shows as € when form is submitted - by El Forum - 06-27-2012, 05:57 AM
Euro sign shows as € when form is submitted - by El Forum - 06-28-2012, 04:23 AM
Euro sign shows as € when form is submitted - by El Forum - 06-28-2012, 01:18 PM
Euro sign shows as € when form is submitted - by El Forum - 06-29-2012, 06:27 AM
Euro sign shows as € when form is submitted - by El Forum - 06-30-2012, 01:00 PM
|