From: Aaron Patterson Date: 2012-09-15T15:43:02+09:00 Subject: [ruby-core:47539] Re: [ruby-trunk - Bug #6799] Digest::*.hexdigest returns an ASCII-8BIT String --Fba/0zbH8Xs+Fj9o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 14, 2012 at 07:35:46PM +0900, Eregon (Benoit Daloze) wrote: >=20 > Issue #6799 has been updated by Eregon (Benoit Daloze). >=20 >=20 > @Aaron: Maybe String#unpack should be fixed instead to return an ASCII st= ring for the 'H', 'h', 'B' and 'b' directives? > It makes sense to me since these will always contain 0-9a-f (0-1 for 'B',= 'b') chars. > This is already done for the 'm', 'M' and 'u' directives in Array#pack. > What do you think? I agree (and would prefer that). It just seems like a larger change than making this method work for me. ;-) --=20 Aaron Patterson http://tenderlovemaking.com/ --Fba/0zbH8Xs+Fj9o Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) iQEcBAEBAgAGBQJQVCNxAAoJEJUxcLy0/6/GSJYH/0/OqOuLh7YIINcjwRs7MqW0 oY/z1jmLrY6eM9LworI2gqOsxiNlbsh3wxCrSK1oEiP4DOajDJMq4SXb6daINVe4 8d1huQAAPv1zJ09kd/4P0AsrZ5kM/CH/+kPWrK/vW1S6IMzuKtUgNo2p15qFRWWP I/hCOG1VNQZoJO9D9Fom9WdTwhnOpUXnKhYFXuMfU65ww26FY+yv+k2kEQsQbOi1 LYFcUiIJIBvWzd5CzUecO2IEBsK+dWfEbnmlYuw/XBnvpEA9lxdkpQj4PNDcPnOr N68+nNyLziwNI9h6q61cOUuOlmaDeTeAquS3gH2YbGgm89NfXN1wCQ/qE0pzpNU= =QWRW -----END PGP SIGNATURE----- --Fba/0zbH8Xs+Fj9o--