Welcome Guest, Not a member yet? Register   Sign In
Characters Sent via Ajax Do Not Arrive Correctly at CI App?
#1

[eluser]Vik[/eluser]
I've got some Ajax code that sends this string to my app:

Code:
Academia-Gate — the Nanny State & The Professors: My Brief Email Exchange With The Co-Chair of the “Cry Wolf” Project

In CI, I have set:

Code:
$config['charset'] = "UTF-8";

I have my Ajax library (jQuery/getJSON) set to use UTF8, and my php environment (NetBeans) is also set to UTF8.

Using Firebug, I can see that the text variable containing the above string, does contain it correctly, at the time it is used in my Ajax call.

However, using breakpoints, I can see that when this text is received by my CI app during the Ajax, it looks like this:

Code:
Academia-Gate — the Nanny State & The Professors: My Brief Email Exchange With The Co-Chair of the “Cry Wolf” Project

How can I correct this?

Thanks in advance to all for any info.


Messages In This Thread
Characters Sent via Ajax Do Not Arrive Correctly at CI App? - by El Forum - 06-11-2010, 05:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB