1.9 codepoints

the codepoints method in 1.9.x does not return an array.  It returns an Enumerable if called without a block.  Calling reverse on the string before calling codepoints fixes this in 1.9.3.