Page 1 of 1

[SOLVED] CG Order Manager HTML emails contain  before £

Posted: Wed Sep 14, 2011 11:05 am
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?

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

Posted: Thu Sep 29, 2011 8:20 pm
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

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

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

Posted: Thu Sep 29, 2011 8:26 pm
by RonnyK
try setting the character-set in cmsmailer to "utf-8", without the quotes...

Ronny

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

Posted: Sat Oct 01, 2011 7:09 am
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

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

Posted: Wed Nov 23, 2011 1:41 pm
by flatcap1
Thanks for the fix, I'll mark this as solved.