Affilistore Content Units: Currency not displayed correctly

by David Cameron on September 22, 2008

Just a very quick tip. For situations such as this in WordPress.

Outside of Affilistore, content units often fail to display the currency symbol correctly. Instead they show a square symbol. It is not an issue with your server, dedicated or not … the issue will crop up according to the script that is in use.

Now, whilst this may primarily be down to the character set being used within a particular environment, it will not always be practical to recode the character set in each scenario. The simple solution would appear to be that you change the currency symbol at the point of creating the feed.

So e.g. instead of £ … enter £

            instead of $ … enter &USD;

or find the appropriate currency interpretation for your locale.

This should mean that anywhere you use the contentunit, the correct symbol is displayed.

If you want to change this for existing Affilistore feeds, then you need to run some MySQL through PHPMyAdmin or similar as follows (substituting the correct currency in both parameters of the replace function):

UPDATE affilist_config SET value = replace (value,’-:-$-:-’,'-:-&USD;-:-’) WHERE name LIKE ‘feedMemory%’;

That should solve the square currency problem in any sutuation.

{ 2 trackbacks }

Market My Life - An experiment in making money online
October 6, 2008 at 8:10 am
End of week 4 and the money has started coming in. | Market My Life - An experiment in making money online
October 21, 2008 at 10:31 pm

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Send To Twitter

Spam Protection by WP-SpamFree

Subscribe without commenting

Previous post:

Next post: