[SOLVED] CG Order Manager HTML emails contain  before £

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
flatcap1
Forum Members
Forum Members
Posts: 24
Joined: Tue Aug 16, 2011 3:13 pm

[SOLVED] CG Order Manager HTML emails contain  before £

Post by flatcap1 »

CMS Version: 1.9.4.2
Current PHP Version: 5.3.1
mySQL: 5.1.41
Apache: 2.2.17
CMS Version: 1.9.4.2
OS: Windows Vista 32bit Service Pack 2

Ecommerce Modules Installed
CGSimpleSmarty: 1.4.8
CGExtensions: 1.26.6
FrontEndUsers: 1.15
SelfRegistration: 1.6.12
CustomContent: 1.7.3
CGEcommerceBase: 1.3.5
Products: 2.13.3
Cart: 1.8.1
CGPaymentGatewayBase: 1.0.11
Orders: 1.13
PaypalGateway: 2.3.5

I get this strange "Â" symbol prefixing each "£" symbol in my emails:

Items:
No. SKU Description Unit Price Quantity Total
1 HVJ Hi Viz Jacket£ £11.95 1 £11.95
Subtotal £11.95
Total £11.95


I know from experience that this appearing on a web page is due to the ISO code base which should be UTF-8 using the following:

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

However this doesn't seem to work when I put this line in the <head> section on either the user or admin email templates.

Any ideas?
Last edited by flatcap1 on Wed Nov 23, 2011 1:42 pm, edited 1 time in total.
clj83
Forum Members
Forum Members
Posts: 195
Joined: Tue Jul 07, 2009 4:09 pm

Re: CG Order Manager HTML user & admin emails contain  befo

Post by clj83 »

Hi,

Did you find a solution to this? I am getting a similar problem when trying to use the € symbol. I too have searched the forums and tried the suggested fix of using &Euro; instead but that doesn't work for me either.

Anyone got any ideas?

Thanks

Chris

----------------------------------------------

Cms Version: 1.9.4.3

Installed Modules:

CMSMailer: 2.0.1
FileManager: 1.1.0
MenuManager: 1.7.6
ModuleManager: 1.4.2
News: 2.11.4
nuSOAP: 1.0.2
Printing: 1.1.2
Search: 1.6.10
ThemeManager: 1.1.4
TinyMCE: 2.9.1
CGExtensions: 1.26.6
CGSimpleSmarty: 1.4.8
CGSmartImage: 1.5
Products: 2.13.3
CGEcommerceBase: 1.3.5
Cart: 1.8.1
CGPaymentGatewayBase: 1.0.11
FrontEndUsers: 1.15.1
Orders: 1.13
SelfRegistration: 1.6.12
RBSWorldPay: 1.0.1
Gallery: 1.4.4
CustomContent: 1.7.3
FileBackup: 0.5
MysqlDump: 1.2.4
JQueryTools: 1.0.10
CGContentUtils: 1.2.1
FormBrowser: 0.4
FormBuilder: 0.7

Config Information:

php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 5000000
default_upload_permission: 664
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:

phpversion: 5.2.9
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 32M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 5M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)

Server Information:

Server Api: cgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.92

----------------------------------------------
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: CG Order Manager HTML user & admin emails contain  befo

Post by RonnyK »

try setting the character-set in cmsmailer to "utf-8", without the quotes...

Ronny
clj83
Forum Members
Forum Members
Posts: 195
Joined: Tue Jul 07, 2009 4:09 pm

Re: CG Order Manager HTML user & admin emails contain  befo

Post by clj83 »

Hi Ronny,

That's great, thanks for that it worked. I can't believe I overlooked that setting, thanks for pointing out my mistake.

Chris
User avatar
flatcap1
Forum Members
Forum Members
Posts: 24
Joined: Tue Aug 16, 2011 3:13 pm

SOLVED Re: CG Order Manager HTML user & admin emails contain

Post by flatcap1 »

Thanks for the fix, I'll mark this as solved.
Post Reply

Return to “CMSMS Core”