Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.




Guest

Recommended Posts

Posted

I am following the instructions for editing te text on the catalog page under MAIN TEXT. However, wen I change it I get this  at the top of the page. What am I doing wrong?

Posted

This is the Byte Order Mark (BOM) of the Unicode Standard ( hex bytes EF BB BF ) presumably being interpreted as ISO-8859-1.

Posted

You've been using a trash editor (is it a Microsoft editor?), or worse, a WYSIWYG page designer. It thinks (or knows) you are editing in UTF-8 mode, and "helpfully" adds a BOM to the beginning of the file. It's unnecessary and causes problems for websites. Switch to a better editor. ViM and Notepad++ are the most commonly recommended.

Posted

its to do with the program you are using to edit the pages, what is it?

Try to use something like notepad ++ or similar

Nic

 

 

Thanks, I was editing directly in my web hosting control panel. I will try with the notepad ++

  • 3 weeks later...
Posted

Thanks, I was editing directly in my web hosting control panel. I will try with the notepad ++

 

I'm having the same issue. I've already done many hours of work through a WYSIWYG editor. (It's the best way to design imo so you can see the tables, and code at the same time)

 

So because i've already put many hours into this project I can't just start over in another editor. I copied my code into notebook ++ resaved it and uploaded it. I am still getting that symbol at the top of the page. There is nothing in the code that would indicate any errors. How can I fix this?

 

Thanks!!

 

Oh I even encoded it in unicode 8 without BOM. What should I encode it with then?

Posted

I'm having the same issue. I've already done many hours of work through a WYSIWYG editor. (It's the best way to design imo so you can see the tables, and code at the same time)

 

So because i've already put many hours into this project I can't just start over in another editor. I copied my code into notebook ++ resaved it and uploaded it. I am still getting that symbol at the top of the page. There is nothing in the code that would indicate any errors. How can I fix this?

 

Thanks!!

 

WYSIWYG may be the "easiest" way to design, it's not the best as it wrecks code and causes issues, there is no replacement for "proper coding" .. Dreamweaver WYSIWYG has been the cause of many problems my clients ask me to fix .. yet it's extremely popular with designers .. go figure.

Posted

I'm having the same issue. I've already done many hours of work through a WYSIWYG editor. (It's the best way to design imo so you can see the tables, and code at the same time)

 

So because i've already put many hours into this project I can't just start over in another editor. I copied my code into notebook ++ resaved it and uploaded it. I am still getting that symbol at the top of the page. There is nothing in the code that would indicate any errors. How can I fix this?

 

Thanks!!

 

Oh I even encoded it in unicode 8 without BOM. What should I encode it with then?

 

Interesting, I just uploaded the original header.php and i'm getting the same symbols above. So is it not coming from the header file? What file would it be coming from.

Posted

Interesting, I just uploaded the original header.php and i'm getting the same symbols above. So is it not coming from the header file? What file would it be coming from.

 

Track it down by the page you are loading.

 

languages/[language].php is loaded for every page load. is this happening on every page load?

Posted

the weird letters show nicely in osCommerce's inbuilt filemanager ... if you still have that one, I'd open application_top.php & english.php there, the most common culprits.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...