From: Yukihiro Matsumoto Date: 2007-12-12T11:14:55+09:00 Subject: Re: Array#pack and String#unpack documentation Hi, In message "Re: Array#pack and String#unpack documentation" on Wed, 12 Dec 2007 08:53:22 +0900, Gary Wright writes: |Yet the format string itself is assumed to be in ASCII, right? To |be more specific, the encoding of the format string has to be |compatible with the encoding of the C source used to compile |ruby (because of the switch() on literal characters in pack.c). Yes. |Is it safe to assume that the interpreter itself is compiled in an |ASCII compatible encoding? Yes. Ruby will not handle ASCII incompatible encoding for scripts and literals, unless someone will come up with drastic innovation I cannot imagine right now. matz.