Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Odd Symbol


mattclements

Recommended Posts

Hello all,

My clients osCommerce site is also showing � rather than £

 

How do you resolve this?

 

Thanks,

Matt

 

You`ve told the browser to use the wrong charset, if you put this in the header in place of whats there it should fix it.

 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

 

B)

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

You`ve told the browser to use the wrong charset, if you put this in the header in place of whats there it should fix it.

 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

 

B)

 

All setup as that!

 

Any more ideas?

Thanks,

Matt

Link to comment
Share on other sites

My version has this in english.php

 

// charset for web pages and emails

define('CHARSET', 'ISO_8859-1');

 

and this in all my pages

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

 

Setting the iso value in english.php fixed it.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Setting the iso value in english.php fixed it.

Yes, but if the server tells the browser it will send a page in utf-8 or whatever, the browser will ignore totally what you put in your page itself and use what the server tells what character set to use.

Link to comment
Share on other sites

Matt, you might want to peek at your HTML source.

 

You said that this was setup:

 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

If we're talking about the audio site, a peek at the HTML reveals this:

 

<meta http-equiv="Content-Type" content="text/html; charset=" />

There are "pound signs"in the source...

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

And if I <right-click> in the browser window and change the encoding to "Western European ISO" all the square boxes magically turn into pound signs.

:)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

And if I <right-click> in the browser window and change the encoding to "Western European ISO" all the square boxes magically turn into pound signs.

:)

Fixed - the ? Symbols were set in the Admin area.

 

Thanks,

Matt

Link to comment
Share on other sites

If it makes any difference to you, the charset is still undefined in the source:

 

<meta http-equiv="Content-Type" content="text/html; charset=" />

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...