Hello, i've build a script for this Problem. But perhaps there is a better way for this problem?
<cfset tmp_inputstring="für dich#chr(13)##chr(10)#test"> <cfset tmp_outputstring=""> <cfoutput> <cfloop from="1" to="#len(tmp_inputstring)#" index="extract"> <cfset tmp_zeichen=formatbasen((asc(mid(tmp_inputstring,extract,1))), 16)> <cfset laenge=#Len(tmp_zeichen)#> <cfif laenge LT 4> <cfloop condition="laenge LT 4"> <cfset tmp_zeichen="0" & tmp_zeichen> <cfset laenge=#Len(tmp_zeichen)#> </cfloop> </cfif> <cfset tmp_outputstring=tmp_outputstring & tmp_zeichen> </cfloop> Input (#len(tmp_inputstring)#) #tmp_inputstring#<BR /> Output (#len(tmp_outputstring)#) #tmp_outputstring# </cfoutput> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:295520 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

