User Guide

Table Of Contents
420 Chapter 17: Developing Globalized Applications
E-mail
ColdFusion sends e-mail messages using the
cfmail, cfmailparam, and cfmailpart tags.
By default, ColdFusion sends mail in UTF-8 encoding. You can specify a different default
encoding on the Mail page in the ColdFusion MX Administrator, and you can use the
charset
attribute of the
cfmail and cfmailpart tags to specify the character encoding for a specific mail
message or part of a multipart mail message.
HTTP
ColdFusion MX supports HTTP communication using the
cfhttp and cfhttpparam tags and
the
GetHttpRequestData function.
The
cfhttp tag supports making HTTP requests. The cfhttp tag uses the Unicode UTF-8
encoding for passing data by default, and you can use the
charset attribute to specify the
character encoding. You can also use the
cfhttpparam tag mimeType attribute to specify the
MIME type and character set of a file.
LDAP
ColdFusion MX supports LDAP (Lightweight Directory Access Protocol) through the
cfldap
tag. LDAP uses the UTF-8 encoding format, so you can mix all retrieved data with other data and
safely manipulated it. No extra processing is required to support LDAP.
WDDX
ColdFusion MX supports the
cfwddx tag. ColdFusion stores WDDX (Web Distributed Data
Exchange) data as UTF-8 encoding, so it automatically supports double-byte character
encodings. You do not have to perform any special processing to handle double-byte characters
with WDDX.
COM
ColdFusion MX supports COM through the
cfobject type="com" tag. All string data used in
COM interfaces is constructed using wide characters (wchars), which support double-byte
characters. You do not have to perform any special processing to interface with COM objects.
CORBA
ColdFusion MX supports CORBA through the
cfobject type="corba" tag. The CORBA 2.0
interface definition language (IDL) basic type “String” used the Latin-1 character encoding,
which used the full 8-bits (256) to represent characters.
As long as you are using CORBA later than version 2.0, which includes support for the IDL types
wchar and wstring, which map to Java types char and string respectively, you do not have to do
anything to support double-byte characters.
However, if you are using a version of CORBA that does not support wchar and wstring, the
server uses char and string data types, which assume a single-byte representation of text.