x
 
Create New Page

Revision: Charset For Emails

Revision from: 18:25, 8 Jul 2007

Changes are made at your own risk and are not guaranteed to work. Always make backups of the database and files prior to implementing hacks. Make a special backup of the file and/or template you are modifying so that you can roll back quickly.

Hacks are dangerous and can cause your site to stop working. They make later updates to ExpressionEngine more difficult; you should track your hacks for post-update re-implementation. 

Most hacks are unnecessary, please review the Development Documentation for information on expanding ExpressionEngine via Modules, Extensions, and Plugins.

Hacks are never officially supported.

Change charset for emails

If you are a non-English user and want to use a different character set than UTF-8 for formatting email messages sent via the console, you have to hack

core/core.email.php

around line 40: Find

var $charset = "UTF-8";

and change it according to your preferences, e.g.

var $charset = "iso-8859-1";

if you want to use German umlauts.

Category:Hacks Category:Languages

Categories: