On Jul 1, 2010, at 5:27 PM, Joshua Mckinney wrote:

> Looks like was I given some skewed information from our C# fella.
>
> "\x9E\xB6g\xB7\xF0\xF8\x9F
> M\xC1\x82\xA0\xFC\xEF[hY\xEC]=\xE6U\xE8o\xFBN\xCD\x929\x9A 
> \xF4\xB5".unpack("H*")
> = ["9eb667b7f0f89f204dc182a0fcef5b6859ec5d3de655e86ffb4ecd92399af4b5"]
>
> which means everything it is working :-)
>
> My only issue now is taking
> "9eb667b7f0f89f204dc182a0fcef5b6859ec5d3de655e86ffb4ecd92399af4b5" and
> "packing" it back to "\x9E\xB6g\xB7\xF0\xF8\x9F
> M\xC1\x82\xA0\xFC\xEF[hY\xEC]=\xE6U\xE8o\xFBN\xCD\x929\x9A\xF4\xB5"
>
> Anyone know how to do that?
>
> Thanks,
> -- 
> Posted via http://www.ruby-forum.com/.
>


irb>  
["9eb667b7f0f89f204dc182a0fcef5b6859ec5d3de655e86ffb4ecd92399af4b5 
"].pack("H*")
=> "\x9E\xB6g\xB7\xF0\xF8\x9F M\xC1\x82\xA0\xFC\xEF[hY\xEC]=\xE6U\xE8o 
\xFBN\xCD\x929\x9A\xF4\xB5"

Rob Biedenharn
http://agileconsultingllc.com
	Rob / AgileConsultingLLC.com
http://gaslightsoftware.com
	rab / GaslightSoftware.com