Ali,

I assume, since you posted this on CF-Talk, you're doing something  
with this in Coldfusion.   Why can't you simply convert the strings  
or the entire document using CF?

<cfscript>
function reEncode(data){
var binary = charsetDecode(data,"UTF-8");
var string = charsetEncode(binary,"windows-1256");
return string;
};
document = reEncode(document);
</cfscript>

If you need to save the converted doc, you can do so as well with  
<cffile>

Jon


On Dec 3, 2006, at 12:36 PM, Ali Majdzadeh wrote:

> Hi: I need to change charset of some text documents. In fact I need  
> to convert the charset of a UTF-8 text into windows-1256 text. Do  
> you know any software that can do it?
> Thanks
> Benign



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262674
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to