[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ruby-tut] chp 2 / conditionals (ASCII <=> UNICODE)
From: |
Robert Gogolok |
Subject: |
Re: [ruby-tut] chp 2 / conditionals (ASCII <=> UNICODE) |
Date: |
Wed, 26 Mar 2003 12:24:06 +0100 |
User-agent: |
KMail/1.5.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 26 March 2003 09:26, Laurent Sansonetti wrote:
> > Hi guys,
> >
> > Concerning the "conditionals" section (in the strings comparaison
> > subsection), I think there is a short mistake: Ruby uses UNICODE to
> > compare strings, not ASCII.
> >
> > Do you agree with me on that point?
I have no idea about encodings!But is utf8 an unicode endcoding?
If YES, then:
I think it depends on how you configured ruby,
- --with-default-kcode=CODE specify default value for \$KCODE
(utf8|euc|sjis|none)
utf8 is default.
Robert!
- --
http://www.kde.de
HP: http://www.stud.uni-saarland.de/~rogo5001/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+gY3bxdrCMIgl4fURAmcVAJ4wdtxdw3klQIordi/4sqeqc+WciQCeK9Qx
ceRNfNMeWpfcWzRGXCHevsA=
=CIEN
-----END PGP SIGNATURE-----