Script URL:
Version of script: 1.22
Hosting company: Personal Web Server
URL of phpinfo.php: (using PHP 5.1.2)
URL of session_test.php: ?
What terms did you try when SEARCHING for a solution: £ (but no replies to that thread!)
Write your message below:
Using "£" sign in a message posted using Firefox - The PHP/Firefox replaces it with "£ ;" and is therefore displayed afterwards by IE & Firefox as "£ ;". Note: remove space between 3 and ;
Using "£" sign in a message posted using IE - Displays fine in IE but Firefox displays it as "Ł"
Any ideas how I can fix this??
Thanks
£ replaced with £ when message posted using Firefox
£ replaced with £ when message posted using Firefox
Last edited by deejaysly on Sat Jul 07, 2007 9:49 pm, edited 2 times in total.
[size=100][b][url=http://www.vinylsurgerecords.co.uk][img]http://deejaysly.users.btopenworld.com/VSR_Logo_310x90_Original_Resize_bb.jpg[/img][/url][/b][/size]
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen,
That fixed half the problem but I still have the case where......
Using "£" sign in a message posted using IE - Displays fine in IE but Firefox displays it as "Ł"
Any ideas??
That fixed half the problem but I still have the case where......
Using "£" sign in a message posted using IE - Displays fine in IE but Firefox displays it as "Ł"
Any ideas??
[size=100][b][url=http://www.vinylsurgerecords.co.uk][img]http://deejaysly.users.btopenworld.com/VSR_Logo_310x90_Original_Resize_bb.jpg[/img][/url][/b][/size]
The only idea I have left is find this in mboard.php file (open with Notepad):
The above code is found TWICE in mboard.php, replace both instances!
and change it to
(note that 1250 becomes 1252) or to this:
Refresh mboard page in your browser before testing and see if it displays correctly in NEW POSTS (not existing ones).
Code: Select all
<meta content="text/html; charset=windows-1250">
and change it to
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
You have 1252 throughout your website so I would go with that one. Some other people (who probably don't like Window$ very much
) would recommend ISO.
I don't want to start a debate here so use whichever you prefer.

I don't want to start a debate here so use whichever you prefer.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen,
Understood. It makes sense aswell with 1252 also being "closer" to the original configuration of the message board code.
Thanks for your time and support. It is appreciated as always!
Regards.............
Understood. It makes sense aswell with 1252 also being "closer" to the original configuration of the message board code.
Thanks for your time and support. It is appreciated as always!
Regards.............
[size=100][b][url=http://www.vinylsurgerecords.co.uk][img]http://deejaysly.users.btopenworld.com/VSR_Logo_310x90_Original_Resize_bb.jpg[/img][/url][/b][/size]
iso-8859-1 is the older codepage.
Windows later added extra characters and called it windows-1252
Differences
ISO-8859-1 is a charset that is widely used for west-european languages. It contains chars 'a' t/m 'z', and numbers and some symbols. It also contains accented chars like: à á â è é ë. It does not contain the euro sign (€).
ISO-8859-15 is a change of the previous charset. Some less used symbols were replaced with more demanded symbols. It does contain the euro sign (€).
Windows-1252 is based on ISO-8859-1 and is extended with more symbols like the euro sign (€).
My recommendation is:
The charset you use depends on what softwareprogram you write your html-pages with. This is because if the program uses another charset as is defined in the charset tag than some symbols might not be displayed right.
Use windows-1252 if you use a windows program to write the html pages because this is the charset that is probably automatically used by the software.
If you use a linux/unix, use iso-8859-1 because this is most likely the default charset used by the software.
For non western languages you should use utf-8 or Shift_JIS.
Greetings,
Henrie
Windows later added extra characters and called it windows-1252
Differences
ISO-8859-1 is a charset that is widely used for west-european languages. It contains chars 'a' t/m 'z', and numbers and some symbols. It also contains accented chars like: à á â è é ë. It does not contain the euro sign (€).
ISO-8859-15 is a change of the previous charset. Some less used symbols were replaced with more demanded symbols. It does contain the euro sign (€).
Windows-1252 is based on ISO-8859-1 and is extended with more symbols like the euro sign (€).
My recommendation is:
The charset you use depends on what softwareprogram you write your html-pages with. This is because if the program uses another charset as is defined in the charset tag than some symbols might not be displayed right.
Use windows-1252 if you use a windows program to write the html pages because this is the charset that is probably automatically used by the software.
If you use a linux/unix, use iso-8859-1 because this is most likely the default charset used by the software.
For non western languages you should use utf-8 or Shift_JIS.
Greetings,
Henrie
Henrie,
Thanks for all that info! I have learnt something new today!
It sounds even more like windows-1252 is the best option for my site.
Regards............
Thanks for all that info! I have learnt something new today!

It sounds even more like windows-1252 is the best option for my site.
Regards............
[size=100][b][url=http://www.vinylsurgerecords.co.uk][img]http://deejaysly.users.btopenworld.com/VSR_Logo_310x90_Original_Resize_bb.jpg[/img][/url][/b][/size]