Hi Everybody,
to be honest: I am pulling my hair out !
I have a problem with cfmail and special characters.
The german "umlaute" seem to be displayed wrong.
This is the code:
<cfcontent type="text/html; charset=utf-8">
<cfset SetLocale("German (DE)")/>
<cfmail to="
x...@xxx.com" from="
x...@xxx.com" subject="Eine neue Datei ist verfuegbar">
<CFMAILPARAM NAME="charset" VALUE="utf-8">
Sehr geehrter ...,
Mit freundlichen Grüßen
</cfmail>
I have also tried:
<cfcontent type="text/html; charset=iso-8859-1">
<cfset SetLocale("German (DE)")/>
<cfmail to="
x...@xxx.com" from="
x...@xxx.com" subject="Eine neue Datei ist verfuegbar">
<CFMAILPARAM NAME="charset" VALUE="iso-8859-1">
Sehr geehrter ...,
Mit freundlichen Grüßen
</cfmail>
Concerning the last line I always got: Mit freundlichen Gr??en instead of "Mit
freundlichen Grüßen"
I tried this on my ColdFusion 8 box with Windows. Absolutely no
problem at all. When I switch to Linux (Debian or CentOS) it doesn't
work.
I also tried to change the charset on my linux boxes. No positive
result. I tried to change the Mail Charset Settings in CF already.
With also no positive results.
Has anybody any other ideas ?
Uwe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359269