From: <kak...@us...> - 2006-09-07 17:34:43
|
Revision: 7213 http://svn.sourceforge.net/amsn/?rev=7213&view=rev Author: kakaroto Date: 2006-09-07 10:34:39 -0700 (Thu, 07 Sep 2006) Log Message: ----------- Added support for UTF-8 messages in OIMs.. Modified Paths: -------------- trunk/amsn/protocol.tcl Modified: trunk/amsn/protocol.tcl =================================================================== --- trunk/amsn/protocol.tcl 2006-09-07 17:29:45 UTC (rev 7212) +++ trunk/amsn/protocol.tcl 2006-09-07 17:34:39 UTC (rev 7213) @@ -2845,7 +2845,7 @@ } set nick [parseFieldEncoding $nick] if { $cencoding == "base64" } { - set body [base64::decode [string trim $body]] + set body [encoding convertfrom identity [string map {"\r\n" "\n"} [base64::decode [string trim $body]]]] } return [list $sequence $email $nick $body] } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |