Stefan Matthias Aust <sma / 3plus4.de> writes:

> A small annoyance is IMHO that I cannot put umlauts in variable or
> method names and I'm even unable (using a Windows Ruby from the
> pragmatic programmer's page in a cygwin shell) to print umlauts.  A
> program like "p 'äö'" only emits "\344\366\374".  RubyWin tries to
> print something different, probably Japanse characters.

Ruby strings are 8-bit clean, and so should just print:

    dave[~ 10:22:48] ruby -e 'puts "gew?nschte Größe"'
    gew?nschte Größe

Perhaps your KCODE is not set to 'NONE'?


Dave