BARRIER - ruby gem - code converter not found (UTF-16LE to IBM737)

After visiting ruby-lang.org, I decided to get the actual 1.9.2
version via

After installation, I tried to install a “gem” with

$> gem install

The result:

ERROR: While executing gem … (Encoding::ConverterNotFoundError)
code converter not found (UTF-16LE to IBM737)

Very frustrating “first contact”.

Ruby seems to work fine, only when using “gem” the error occurs.

A workaround:

$> chcp 850
$> gem install
$> chcp 737

I’ve queried for a solutions, but didn’t found something concrete,
although this defect seems to be know for half a year.

Is this an issue with ruby, with “gem” or with the rubyinstaller?

.

On 16 May 2011 13:25, Ilias L. [email protected] wrote:

Very frustrating “first contact”.

Ilias. This is not your “first contact” with Ruby. You have been
trolling for a long time. Here’s a post of yours from 2006,
- Requesting Comments for Process Definition and Presentatio - Ruby - Ruby-Forum , that was FIVE years ago and it
mentions your site lazaridis.com. This is no “first contact”, why
can’t you be honest?

You have been trolling for so long that your name is a meme in several
language news groups and old timers like myself can pick it out at 100
meters.

Here are a couple of searches so you can refresh your memory

  1. Ilias Lazaridis troll - Google Search
  2. Ilias Lazaridis kook - Google Search

To those who don’t know Ilias he will start off with what seems a
trivial or obscure topic (such as getting a gem to install) and then
derail his own thread as he wonders off into lala land. The reason I
pounced on this was because the phrase “first contact” is Ilias
pretending to be a novice. He is no novice and has had contact with
Ruby for longer than some people on this list.

Learn this name and save yourself lots of time.

On 16 , 15:50, Peter H. [email protected]
wrote:

On 16 May 2011 13:25, Ilias L. [email protected] wrote:

Very frustrating “first contact”.
[…]
This is no “first contact”, why can’t you be honest?
[…]

Mr. Hickman.

I ask you friendly to refrain from further off-topic comments and to
take care of your wording.

I do not hide that I had contact with ruby 5 years ago:

http://dev.lazaridis.com/case/wiki/RubyAudit
http://dev.lazaridis.com/case/wiki/CoreLiveEval

That does not change, that my new “first contact” with ruby 1.9 was
frustrating for me (as I didn’t expected such an early stage defect).

Additionally, the “first contact” refers to newcomers in general,
which will be most possibly frustrating for most people which use a
different codepage.

I hope that the rest of this community will have the professionalism
to stay in topic, and will focus on the technical discussion, which
affects an existent defect and an entry barrier to ruby 1.9.2.

Has anyone a permanent solution or more information about this issue?

.

2011/5/16 Ilias L. [email protected]

I ask you friendly to refrain from further off-topic comments and to
take care of your wording.

All:

The above is a perfect example of why you never talk to Ilias. You
cannot
win. He doesn’t want help. He’s one of the most epic trolls on the
Internet. Please Google his name before you even think of replying.

The only way to win is not to play.

James Edward G. II

On May 16, 10:22am, Ilias L. [email protected] wrote:

Is this an issue with ruby, with “gem” or with the rubyinstaller?

The hints are in the thread you referred to, the reason is there and
in my previous answer.

On May 16, 8:22am, Ilias L. [email protected] wrote:

$> gem install
$> chcp 737

I’ve queried for a solutions, but didn’t found something concrete,
although this defect seems to be know for half a year.

Is this an issue with ruby, with “gem” or with the rubyinstaller?

The error is not an bug, there is no way to convert IBM737 encoding to
UTF16 or UTF8, period.

You need to update your console to use a modern set of encoding/
codepage, also, do yourself a favor and use a TrueType font for it,
which will solve any possible rendering issue you might experience in
the future.

See this:

See how to permanently set your console. IBM737 and 850 are DOS-age
encodings.

[…] - (off topic comments)

To readers:

As a reminder, the main topic is this defect:

"
ERROR: While executing gem … (Encoding::ConverterNotFoundError)
code converter not found (UTF-16LE to IBM737)

Is this an issue with ruby, with “gem” or with the rubyinstaller?
"

other people have asked over half a year ago, thus this should be a
know issue:

The issue is an Entry Barrier to Rails, in this case:

Encoding error while installing rails on ruby 1.9.2
http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/08f0b3b16f798b83/b88c5b188c36cd0d?#b88c5b188c36cd0d

Any hint is welcome.

.

On May 16, 2011, at 06:44 , James G. wrote:

Internet. Please Google his name before you even think of replying.

The only way to win is not to play.

Dear Peter and James,

I love both of you so very much right now.

Hugs,

Ryan

On Mon, May 16, 2011 at 2:50 PM, Peter H.
[email protected] wrote:

Learn this name and save yourself lots of time.

In the spirit of passing knowledge on, a kind soul linked to
http://www.tfeb.org/lisp/mad-people.html the last time Ilias
appeared, so I’ll repeat the kindness (Google FTW).


Phillip G.

Though the folk I have met,
(Ah, how soon!) they forget
When I’ve moved on to some other place,
There may be one or two,
When I’ve played and passed through,
Who’ll remember my song or my face.

You might consider Windows-1253 instead of 1252 as it’s a Greek codepage
(
Windows-1253 - Wikipedia) - it appears to be a little
friendlier with unicode.

John

2011/5/16 Ilias L. [email protected]

On 16 , 17:31, Luis L. [email protected] wrote:

$> chcp 850
$> gem install
$> chcp 737

I’ve queried for a solutions, but didn’t found something concrete,
although this defect seems to be know for half a year.

Is this an issue with ruby, with “gem” or with the rubyinstaller?

The error is not an bug, there is no way to convert IBM737 encoding to
UTF16 or UTF8, period.

I cannot verify this, but even if your right:

Then it is most possibly an implementation defect, see below.

You need to update your console to use a modern set of encoding/
codepage, also, do yourself a favor and use a TrueType font for it,
which will solve any possible rendering issue you might experience in
the future.

See this:GitHub - cucumber/common: A home for issues that are common to multiple cucumber repositories

See how to permanently set your console. IBM737 and 850 are DOS-age
encodings.

I have a simple laptop, with Windows 7 on it, greek version.

DOS-age encodings or not:

I had never with any toolkit any problems, and ruby 1.8 worked fine,
too.

And of course I have as simple expectation: that a native windows
installer will install a ruby 1.9 that works.

I don’t like to touch the very basic OS setup, but I’ve tried:

Your “Troubleshooting” document suggests: chcp 1252 / chcp 65001.

But with those I can’t write greek chars.

.

On May 17, 10:27 am, Ilias L. [email protected] wrote:

2011/5/16 Ilias L. [email protected]

A workaround:
The error is not an bug, there is no way to convert IBM737 encoding to

too.
You might consider Windows-1253 instead of 1252 as it’s a Greek codepage
(Windows-1253 - Wikipedia) - it appears to be a little

Is this an issue with ruby, with “gem” or with the rubyinstaller?

IBM737 to UTF-8/UTF-16 encoding issue, mentioned before.

Ruby source code is here:

Ruby bug tracker is here:

And how to contribute is here:

http://redmine.ruby-lang.org/projects/ruby/wiki/HowToContribute

Patches are welcome.

On 16 Μάϊος, 23:30, John W Higgins [email protected] wrote:

the future.
I had never with any toolkit any problems, and ruby 1.8 worked fine,

You might consider Windows-1253 instead of 1252 as it’s a Greek codepage
(Windows-1253 - Wikipedia) - it appears to be a little
friendlier with unicode.

I’ve tried. “gem install” works now - but the greek characters are not
displayed correctly.

The main problem is: I can tell a user “download and install ruby
1.9”. But I like to avoid to ask them to change the command-line
setup.

I need at this point to isolate the issue, so the main question is:

Is this an issue with ruby, with “gem” or with the rubyinstaller?

.

On 16 , 15:22, Ilias L. [email protected] wrote:

$> gem install
$> chcp 737

I’ve queried for a solutions, but didn’t found something concrete,
although this defect seems to be know for half a year.

Is this an issue with ruby, with “gem” or with the rubyinstaller?

The defect is within the subsystem “rubygems”.

Filed Issue:

On windows 7 greek.

Installer used:
http://rubyforge.org/frs/download.php/74298/rubyinstaller-1.9.2-p180.exe

P:>cmd
Microsoft Windows [ 6.1.7600]
(c) 2009 Microsoft Corporation.
.

P:>ruby -v
ruby 1.9.2p180 (2011-02-18) [i386-mingw32]

P:>gem -v
1.5.2

P:>gem install json_pure
ERROR: While executing gem … (Encoding::ConverterNotFoundError)
code converter not found (UTF-16LE to IBM737)

P:>gem install json_pure --debug -V
Exception NameError' at P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/ rubygems/command_manager.rb:163 - uninitialized constant Gem::Commands::InstallCommand Exception Encoding::ConverterNotFoundError’ at P:/prg/ruby192/lib/
ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:195 - code
converter not found (UTF-16LE to IBM737)
ERROR: While executing gem … (Encoding::ConverterNotFoundError)
code converter not found (UTF-16LE to IBM737)
P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/
dependency_installer.rb:195:in []' P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/ dependency_installer.rb:195:in find_spec_by_name_and_version’
P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/
dependency_installer.rb:244:in install' P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/ install_command.rb:120:in block in execute’
P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/
install_command.rb:115:in each' P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/ install_command.rb:115:in execute’
P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:
278:in invoke' P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/ command_manager.rb:133:in process_args’
P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/
command_manager.rb:103:in run' P:/prg/ruby192/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb: 63:in run’
P:/prg/ruby192/bin/gem:21:in `’

.

On 16 , 15:22, Ilias L. [email protected] wrote:

$> gem install
$> chcp 737

I’ve queried for a solutions, but didn’t found something concrete,
although this defect seems to be know for half a year.

Is this an issue with ruby, with “gem” or with the rubyinstaller?

This is an issue with ruby 1.9.2 (missing enc/trans/ibm737-tbl.rb)

fixed for 1.9.3:

.

On 18 Μάϊος, 04:07, Luis L. [email protected] wrote:

On 16 Μάϊος, 23:30, John W Higgins [email protected] wrote:

code converter not found (UTF-16LE to IBM737)

Is this an issue with ruby, with “gem” or with the rubyinstaller?
which will solve any possible rendering issue you might experience in

But with those I can’t write greek chars.

I need at this point to isolate the issue, so the main question is:

Is this an issue with ruby, with “gem” or with the rubyinstaller?

IBM737 to UTF-8/UTF-16 encoding issue, mentioned before.
[…]

I’ve isolated the issue finally:

It is a defect within ruby, subsystem “rubygems”.

.