Bug #1195: String#% does not include prefix before zero value for # versions of numeric formats http://redmine.ruby-lang.org/issues/show/1195 Author: Charles Nutter Status: Open, Priority: Normal ruby -v: ruby 1.9.1p0 (2009-01-20 revision 21700) [i386-darwin9.6.0] Ruby 1.8.7: $ /opt/local/bin/ruby -e "p('%#b %#B %#o %#x %#X' % [0,0,0,0,0])" "0b0 0B0 00 0x0 0X0" Ruby 1.9.1p0: $ ruby1.9 -e "p('%#b %#B %#o %#x %#X' % [0,0,0,0,0])" "0 0 0 0 0" ---------------------------------------- http://redmine.ruby-lang.org