From: "Andreas S." Date: 2006-01-05T21:45:13+09:00 Subject: Re: String utf8 size in kilobytes daniel wijnands wrote: > I have a mimemessage in a string. > This string is utf8, i would like to know the size of this string. > String.size gives me the length in characters, but i need the size in kb > or bytes String#size returns the size in bytes. String#jsize returns the number of characters (with require 'jcode'). -- Posted via http://www.ruby-forum.com/.