# File lib/backports/1.9.1/string.rb, line 27
  def codepoints
    return to_enum(:codepoints) unless block_given?
    unpack("U*").each{|cp| yield cp}
  end