From: Andrew Barringer Date: 2009-08-13T23:39:01+09:00 Subject: Setting Default Character Encodings ruby 1.9 ------_=_NextPart_001_01CA1C22.144A9805 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This is probably something stupid simple I'm overlooking.. but.. here it goes. =20 I'm trying to set the default character encoding at the command line like this: =20 ruby19 -E ASCII-8BIT:ASCII-8BIT scratch.rb =20 my scratch.rb file has the following line: =20 p __ENCODING__ =20 The output is always this: =20 # =20 I want it to be this: =20 # =20 What am I doing wrong? =20 Thanks, Andy ------_=_NextPart_001_01CA1C22.144A9805--