kmm2908 Posted November 9, 2012 Share Posted November 9, 2012 HI can anyone tell me what causes the appearance of strange characters on some WHMCS custom pages I've written? Seems to be where I've written custom JavaScript code if that helps. Screenshot: 0 Quote Link to comment Share on other sites More sharing options...
kmm2908 Posted November 9, 2012 Author Share Posted November 9, 2012 It is happening on pages where I have following code: require("/home/xxx/public_html/clients/dbconnect.php"); require("/home/xxx/public_html/clients/includes/functions.php"); 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 9, 2012 Share Posted November 9, 2012 It is due to the encoding of the file Save the file using UTF8 without bom and it will solve your problem 0 Quote Link to comment Share on other sites More sharing options...
kmm2908 Posted November 9, 2012 Author Share Posted November 9, 2012 Hey many thanks for the swift answer, been bugging me for a while that one! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.