Maybe something like this?

<cfset aString = "This is a string in the platform default encoding">
<cfobject action="create" type="java" class="java.lang.String"
name="encodedString">
<cfscript>
 encodedString.init(aString.getBytes(), "ISO-8859-1");
</cfscript>
<cfdump var="#encodedString#">

I cant think of a purely CF solution. Anyone think of a CF solution?

> It seems like it is an encoding issue. When I set my browser to use UTF8
> encoding and disable auto select, it displays fine.
>  Is there any way to make Hotmail recognise the correct encoding or
> convert
> the text to iso-8859-1 before sending?
>  Shane
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> [EMAIL PROTECTED]
>
>
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>



---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to