Welcome Guest, Not a member yet? Register   Sign In
Euro sign shows as € when form is submitted
#1

[eluser]cheungj[/eluser]
Hi all!
I've been using CodeIgniter for the past month but this is my first post.
I'm having an issue with the encoding of the € sign.
The form is pre-populated with values from the database. In one of the textareas, there are € signs. They show on the form as normal, but after the form is submitted, I retrieve the value, and it appears as either € or it is omitted.

I noticed that it shows as € when set like so:
Code:
<form action="[removed]" method="post" accept-charset="utf-8">

So I changed the accept-charset to ISO-8859-1. With this setting, the € sign was omitted. I have also tried using ISO-8859-15, to no avail.

I have tried changing the meta tag's charset, which didn't work either.

Does anybody have any ideas?

Additional Info
To display the form in the view, I am actually using:
Code:
echo form_open('[removed]', array('accept-charset' => 'ISO-8859-1'));


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



Theme © iAndrew 2016 - Forum software by © MyBB