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

[eluser]cheungj[/eluser]
[quote author="boltsabre" date="1340800289"]Sounds like an encoding issue, using UTF-8 isn't the problem, it's making sure you use it EVERYWHERE (same can be said about any charset).

What is your database collation? What is your meta charset? Are you escaping your data? If so how? Is it ajax? Sending data from Ajax to PHP can also cause issues, you need to uft8_decode($your string) it.[/quote]

I had an issue with this before, but when I was inserting into the database.
Database Collation: latin1_swedish_ci
Meta Charset: ISO-8859-1

I'm not escaping the data, nor am I using AJAX to transfer information.
I just tried to utf8_decode($var) the string and the same thing happens -- it either shows as a question mark or it is blank.


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