We need to send email which contains Pound (currency) symbols in ColdFusion. Before sending email, we are dumping the data into a html file for preview.
- How to send a email with utf-8 encoding in ColdFusion
- How to save a file with utf-8 encoding in ColdFusion
E-Mails are sent in the encoding that is specified in the ColdFusion Administrator. For ColdFusion MX (6.0) and up this is UTF-8 by default.
You can explicitly mention the encoding like this, but it should not be necessary.
For the HTML file you dump to disk, the following applies:
And you should have the encoding as a META tag, so the browser you use for preview does not have to guess: