Windows command & unicod

That's because the DOS console is expecting characters
using the OEM code page, which for US and western Europe is ibm850.

Here's more info:
http://www.example-code.com/ruby/ruby-dos-console-print.asp

-Matt

···

At 10:48 AM 11/15/2006, you wrote:

On 11/15/06, m44rt3n@yahoo.com <m44rt3n@yahoo.com> wrote:

Hi all,

I have a problem using unicode characters in the windows command.

As a very simple example, when I type this:

H:\>ruby -e 'puts "rien à faire"'

I will get the following:

rien Ó faire

Does anyone know what causes this?
When I run my scripts from Scite, this problem doesn't come up.

Please search the archives. There was a discussion about the
limitations of cmd.exe and Unicode. What you want generally can't be
done from the command-line in Windows.

-austin
--
Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/
              * austin@halostatue.ca * You are in a maze of twisty little passages, all alike. // halo • statue
              * austin@zieglers.ca

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.5/534 - Release Date: 11/14/2006

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.5/534 - Release Date: 11/14/2006