On 18 άο, 04:07, Luis Lavena <luislav... / gmail.com> wrote:
> On May 17, 10:27am, Ilias Lazaridis <il... / lazaridis.com> wrote:
>
>
>
>
>
>
>
>
>
> > On 16 , 23:30, John W Higgins <wish... / gmail.com> wrote:
>
> > > 2011/5/16 Ilias Lazaridis <il... / lazaridis.com>
>
> > > > On 16 , 17:31, Luis Lavena <luislav... / gmail.com> wrote:
> > > > > On May 16, 8:22 am, Ilias Lazaridis <il... / lazaridis.com> wrote:
>
> > > > > > After visiting ruby-lang.org, I decided to get the actual 1.9.2
> > > > > > version via
>
> > > > > > ERROR: While executing gem ... (Encoding::ConverterNotFoundError)
> > > > > >   code converter not found (UTF-16LE to IBM737)
>
> > > > > > A workaround:
>
> > > > > > $> chcp 850
> > > > > > $> gem install <some gem>
> > > > > > $> 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:https://github.com/cucumber/cucumber/wiki/Troubleshooting
>
> > > > > 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.
>
> > > You might consider Windows-1253 instead of 1252 as it's a Greek codepage (http://en.wikipedia.org/wiki/Windows-1253) - 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?
>
> IBM737 to UTF-8/UTF-16 encoding issue, mentioned before.
[...]

I've isolated the issue finally:

It is a defect within ruby, subsystem "rubygems".

http://redmine.ruby-lang.org/issues/4738

.

--
http://lazaridis.com