Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Help please �|� instead of seperator

Aloittaja aholderness, heinäkuu 24, 2011, 03:57:32 IP

« edellinen - seuraava »

aholderness

Hi,

Please bare with me i'm really new to this. I get this code in my threads e.g

Mark Read �|� Notify �|� New Topic �|� Post new poll

It's on all my threads and i have no idea why. Any solutions/advice would be much appreciated, please go easy with me on the technical speak :)

Thanks,
Alex

p.s have attached a pic of what it looks like - i'm using v1.1.14 theme Altar

Ashley S

Looks like a theme problem, does the theme fit with your SMF version?

live627

Sounds like an encoding problem. Perhaps set the encoding of index.template.php to UTF-8 without BOM

What theme is it?

MrPhil

Some dolt created the theme with hardcoded non-ASCII characters in the code. My guess would be the non-breaking space. That character is encoded with something like Latin-1, and your forum is displaying the page in UTF-8. Find in the theme where this line is created, and remove the funny characters before and after the "|", and replace them with  .

Before someone criticizes me for calling the author a dolt, you never, ever put anything but ASCII characters in a code (non-language support) file. That's sheer stupidity. Language files are meant to be displayed with a certain encoding, but code must work with any encoding. Therefore, plain ASCII is usually safe (unless for some strange reason you're using UTF-16). Any characters not found in ASCII must be HTML entities (named or numbered).

aholderness

Hi guys,

Thanks for the responses, the theme is Altar_111v2

Any tips on where the code is/ how to fix it? or do i need to change theme?

Thanks again

aholderness

Mr Phil - sorry just read that response - thanks i will give it a go!


aholderness


Advertisement: