Posted by BJY on 12/17/18 11:53
Chung Leong wrote:
> Set the dir attribute of <body> instead and it should work.
Chung - Thanks, setting the dir on the body tag did solve this specific
rtl problem... But i'm still trying to solve the main problem of these
extraneous characters...
Benjamin Esham wrote:
> Can you show us the beginning of header.inc? And possibly a hex dump of the
> first line or so? If your file contains a Unicode byte order mark [1],
> those are probably the characters messing your file up.
The hex dump of the output indeed shows 'junk' which i don't know where
it comes from:
EF BB BF EF BB BF EF BB BF 3C 48 54 4D 4C
.... where the 3C indicates the start of the <HTML tag
Any idea what makes PHP spit out this at the start of output?
The header.inc is pretty straight-forward:
<HTML dir="rtl" lang="he">
<TITLE>Burritos - בוריטוס - מסעדה מקסיקנית</TITLE>
<script language="javascript" src="burritos.js"></script>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<HEAD>
<style>
<?php include 'burritos.css'; ?>
</style>
..... and then more html
Thanks again!
Navigation:
[Reply to this message]
|