On May 26, 1:21 pm, Robert Dober <robert.do... / gmail.com> wrote:
> ...
>
> > Why 65? it's the Ascii value of A:
> >  puts "\x65"
> >  => "e"
>
> because of
>    "e"[0] == ?e  &&  ?e == 0x65,
> what did you want to do with \x?

\x is for hexadezimal. 65 is indeed the (decimal) Ascii value of 'A'.
hex = dez
0x65 = 101
0x41 = 65

And therefore:
puts "\x41" => 'A'
puts "\x65" => 'e'

>
> > PD: I've realized when writting this mail that Ruby 1.9 already
> > implement this "feature".
>
> ...
> > --
> > Iñáki Baz Castillo
> > <i... / aliax.net>
>
BR Phil