# -*- coding: iso-8859-1 -*- s = "møøse" puts "Byte length: %d" % s.bytesize puts "Character length: %d" % s.length