![]() |
Strange characters output when combining views segments - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Strange characters output when combining views segments (/showthread.php?tid=7584) |
Strange characters output when combining views segments - El Forum - 04-15-2008 [eluser]got 2 doodle[/eluser] Hi I am working on my first CI app. I have broken an html page down into segments and I am re-assembling them with CI but I am getting a few strange characters output between two of the views. Here is a 'view->source' dump from the browser. Code: <div id="RsSpacer2"></div> Here is the relevant part of the controller Code: /* Load views */ If I rem all other views: Code: /* Load views */ I get Code: <h4>A PHP Error was encountered</h4> This is the first few lines of the view "view_content" Code: <div id="MainText"> Does anyone have any ideas of where to look? Anyone encounter this before? Thanks, Jeff Strange characters output when combining views segments - El Forum - 04-15-2008 [eluser]got 2 doodle[/eluser] OK I answered my own question My header view had the following line in it <meta http-equiv="Content-Type" content="text/html;iso-8859-1"> This was output from "fireworks' the line was changed to <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Now no more strange characters ![]() I guess it just proves that if the problem is not where you are looking then it must be somewhere else. I have much to learn. Jeff Strange characters output when combining views segments - El Forum - 09-27-2008 [eluser]krif[/eluser] Just in case, have a look at this post, too: http://ellislab.com/forums/viewthread/90241/ |