Carsten Klement wrote: > thanks for your answer. But CF supports no UCS-2 encoding for pageencoding or > charsetencode/decoe. > UTF-16 is supportet, but it's not the same as i want.
as james has said they are more or less the same for your purposes (in fact if you look at the SMS gateway docs for the PDU dataCoding field, UCS-2 is an alias for UTF-16). just be aware that in many other cases these encodings are not 100% equivalent (collation being the most common problem). if cf's functions don't do the trick have a look at core java's charset class: http://java.sun.com/javase/6/docs/api/java/nio/charset/Charset.html or icu4j's (though you'll have to "install" the icu4j lib): http://www.icu-project.org/apiref/icu4j/com/ibm/icu/charset/CharsetICU.html also be aware that there might be an issue w/cfprocessingdirective always returning utf-8 no matter what encoding you request (vaguely recall something about this, not sure it was fixed & i'm at home w/out access to a cf box right now). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295565 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4