Welcome Guest, Not a member yet? Register   Sign In
bad initial output
#1

[eluser]Unknown[/eluser]
I recently re-wrote my simple website in CI.
On my local dev machine (ubuntu LAMP) everthing is fine.
When I moved it to my host (hostgator) everything is fine
EXCEPT I'm getting three extra chars at the start of my
html output.

I'm stumped!
#2

[eluser]Thorpe Obazee[/eluser]
You could probably post some code.. probably someone is bound to answer...
#3

[eluser]TheFuzzy0ne[/eluser]
I'm stumped too. Not surprising given the total lack of information you've supplied. Smile It would be a great start to know exactly what three characters you're getting, and on what pages. If it's on all your pages, it's probably something to do with the view, in which case please post it.
#4

[eluser]Dam1an[/eluser]
I can't remember the exact details, but saw a similar thread a few weeks back, with 3 random characters appearing. It was something to do with Byte Order Mark, an optional parameter somewhere fixed it...
Sorry I can't be more specific, but someone might remember what I'm on about
#5

[eluser]TheFuzzy0ne[/eluser]
Try validating your HTML. You have probably forgotten to declare the content type:

Code:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

http://www.w3.org/International/tutorial...-char-enc/




Theme © iAndrew 2016 - Forum software by © MyBB