Hello,
In ruby versions earlier than Ruby 3.0 / Ruby 3000, was there a standard
text encoding or was it per-platform? Here is an example from Windows
running Ruby 2.6.8 without the RUBYOPT=Eutf-8 option shows the following:
irb(main):001:0> 'hi'.encoding
#<Encoding:IBM437>
irb(main):002:0> RUBY_VERSION
"2.6.8"
Running the same commands in irb on Slackware Linux 14.2 without UTF-8
enabled gives the following result:
irb(main):001:0> 'hi'.encoding
#<Encoding:ISO-8859-1>
irb(main):002:0> RUBY_VERSION
"2.2.5"
Thanks.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)