Page 1 of 1

&#65279 in Header

Posted: Fri Apr 01, 2016 5:18 pm
by abxweb
Hello guys. Few days ago i have encountered a problem with a site im making for my client.

So, i have made multistore site with two different layouts of a theme (did a controller comparison/modifications) and most of the site is working well except for the "Category" page. Whenever i open category page on my second store (first store is working fine) my html gets mixed up and everything from <head> goes to <body> and i get this strange character &#65279 in the html when i see it with Inspect element.

I did tried saving everything without BOM encoding UTF-8, but that didnt worked out.

If you have any suggestions, please post them here. Here is a screenshot of inspect element.

Re: &#65279 in Header

Posted: Fri Apr 01, 2016 8:36 pm
by viethemes
Did you try to remove contents of header.tpl, footer.tpl, category.tpl files?

Re: &#65279 in Header

Posted: Fri Apr 01, 2016 11:24 pm
by agatha65
Check you language files encoding for the srb language. This is the problem.
Check when replacing the srb file with eng and if the problem disappears you have to fix the file.
&#65279 is the Unicode Character 'ZERO WIDTH NO-BREAK SPACE' (U+FEFF)
Use Notepad++ for editing to avoid encoding problems.

Re: &#65279 in Header

Posted: Sat Apr 02, 2016 4:04 am
by abxweb
agatha65 wrote:Check you language files encoding for the srb language. This is the problem.
Check when replacing the srb file with eng and if the problem disappears you have to fix the file.
&#65279 is the Unicode Character 'ZERO WIDTH NO-BREAK SPACE' (U+FEFF)
Use Notepad++ for editing to avoid encoding problems.
I did tried changing the language but that didnt fixed the problem.

viethemes when i delete the files you said i get 404 not found when i open category page, which is normal i guess.

Re: &#65279 in Header

Posted: Mon Oct 24, 2016 3:40 am
by mbogdan
i have the same problem but with my product pages.
it shows a white bar above the header file.

changing back to default language or replacing those files to the stock ones didn't help.
i know i'm guilty of editing some files with wordpad in the past but can't find the affected ones.

i've started with product.tpl and both header and footer tpl. seems nothing is wrong with those