Welcome Guest, Not a member yet? Register   Sign In
CI can't display UTF8 data that equivalent PHP/mysql code has no trouble with
#8

[eluser]Narf[/eluser]
[quote author="Jeffrey McManus" date="1352494004"]My PHP/mysql script does not alter any HTTP headers, that is correct.

So if CI is really attempting to send headers after the controller code is executed (which seems wrong to me), how should I proceed? Remember that I'm seeing this error whether I echo the UTF8 data from a controller function or from within a view.
[/quote]

Well, at this point unless you show me your full controller and view(s) code, I can't really say anything more.

[quote author="Jeffrey McManus" date="1352494004"]
By "set your environment to production," what do you mean? Are you referring to configuration groups in database.php?[/quote]

No, there's an ENVIRONMENT constant that is defined in index.php. If you choose 'production' there, you'll see that it also disables error reporting.


Messages In This Thread
CI can't display UTF8 data that equivalent PHP/mysql code has no trouble with - by El Forum - 11-09-2012, 01:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB