I try this code: set data "Привет!" set zdata [ns_zlib compress [encoding convertto utf-8 $data]] set data2 [encoding convertfrom utf-8 [ns_zlib uncompress $zdata]] puts $data2
And get wrong result (is not equal to $data): @825B! -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ aolserver-talk mailing list aolserver-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aolserver-talk