Utf8 include prints a white tab space?
Posted: Mon Apr 02, 2012 4:26 pm
Hi
I've encountered this problem just now - if a php file that is encoded in utf-8 is included by another php file also encoded in utf-8, it seems to print a tab space.
Now this isn't a problem in good browsers like firefox or chrome but this tab space can really break a website layout in Internet Explorer.
I tested this out on a web host just to make sure it's not my local version of PHP that's causing the problem, and this still happens.
Does everyone else get this, and how do you overcome this?
Thanks
I've encountered this problem just now - if a php file that is encoded in utf-8 is included by another php file also encoded in utf-8, it seems to print a tab space.
Now this isn't a problem in good browsers like firefox or chrome but this tab space can really break a website layout in Internet Explorer.
I tested this out on a web host just to make sure it's not my local version of PHP that's causing the problem, and this still happens.
Does everyone else get this, and how do you overcome this?
Thanks