From: Yukihiro Matsumoto Date: 2010-06-10T06:42:57+09:00 Subject: [ruby-core:30698] Re: [Bug #3418] IO#putc Clobbers Multi-byte Characters Hi, In message "Re: [ruby-core:30697] [Bug #3418] IO#putc Clobbers Multi-byte Characters" on Thu, 10 Jun 2010 05:49:55 +0900, Run Paint Run Run writes: |IO#putc claims to write a "character", when in fact it writes a byte. I assume this is for backward compatibility reasons, but as this could lead to data loss, the documentation needs clarifying. Agreed. The behavior is intentional, the term "character" in the documentation means a byte in 8bit ascii, not to apart from old putc(3) function in the C library. So this one is a documentation bug at most. matz.