From: Clifford Heath Date: 2007-02-26T06:20:13+09:00 Subject: Re: Using unpack on a UTF-8 string Greg Hurrell wrote: > Thanks a million, Carlos. I never would have figured that out for > myself. I misunderstood the documentation for String#unpack: > C | Fixnum | extract a character as an unsigned integer > U | Integer | UTF-8 characters as unsigned integers The problem here is the inconsistent use of character in the documentation. A character is *not* a byte. The documentation should be revised to use the two words only in their correct contexts, with annotations to remind people of this use. Clifford Heath.