[Rubyinstaller-devel] Win32console

Luis Lavena luislavena at gmail.com
Sun Apr 12 13:38:19 EDT 2009

On Sun, Apr 12, 2009 at 8:32 AM, deepj <deepjungle.maca at gmail.com> wrote:
> I've done a few changes in win32console. It uses Iconv and it works
> (limited) under Ruby 1.9.1 now (I haven't tested Ruby 1.8).
> http://github.com/deepj/win32console/tree/master
> But I've met this following problem. When you have ruby script in utf-8 and
> it contains chars which doesn't contain OEM encoding (for example cp852 vs
> greek cyrilic) so it doesn't work (it's clear). The console is possibly
> switched to utf-8 but I don't know where in code :(.

The ANSI.rb need to be in UTF-8, first line of the file:

# encoding: utf-8

I'll take a look to the different page encoding combination. Do you
have a cyrilic file that I can binary read and send to Win32Console?

> Another problem is PowerShell :(

Well, one step at a time ;-)

> _______________________________________________
> Rubyinstaller-devel mailing list
> Rubyinstaller-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rubyinstaller-devel

Luis Lavena
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

More information about the Rubyinstaller-devel mailing list