SMF Support > SMF 2.0.x Support

£ sign coming out as a ? on forum

(1/2) > >>

angiexx1:
Ok am a bit stumped when typing a £ sign it looks like a £ sign in the message box but when you press post and view the message the £ sign then changes itself to a ?, this is happening to all members not just one so am wondering why and what would cause this


Thanks

angie

angiexx1:
oh its on a different site to mine its my partners forum but I built it and maintain it

http://streetcruiseuk.com/index.php

Arantor:
It's like this because £ is not a valid character in the system that forums default to, which is called ISO-8859-1. Take a backup, then in Admin > Maintenance > Database, convert the forum to UTF-8.

Once you've done that, you'll be able to post £ happily.

MrPhil:
Is that a ? in a diamond sign? It means your forum is UTF-8 while your pound sign was entered in Latin-1. You just need to be consistent -- Latin-1 everywhere or UTF-8 everywhere. Consider using £ instead of typing in a hard coded character, as it will work under any encoding.

angiexx1:
ok that has lost me MrPhil
the forum itself as such is not much changed just added tiny portal and a theme and a few mods and just used the £ sign above the number 3 on my keyboard as others are when typing
so if I do the change to utf-8 that should correct it?
Will give that a go will be tomorrow probably now as its late where I am

And thank you

Navigation

[0] Message Index

[#] Next page

Go to full version