[#6363] Re: rescue clause affecting IO loop behavior — ts <decoux@...>

>>>>> "D" == David Alan Black <dblack@candle.superlink.net> writes:

17 messages 2000/11/14
[#6367] Re: rescue clause affecting IO loop behavior — David Alan Black <dblack@...> 2000/11/14

Hello again --

[#6582] best way to interleaf arrays? — David Alan Black <dblack@...>

Hello --

15 messages 2000/11/26

[#6646] RE: Array Intersect (&) question — Aleksi Niemel<aleksi.niemela@...>

Ross asked something about widely known and largely ignored language (on

23 messages 2000/11/29
[#6652] RE: Array Intersect (&) question — rpmohn@... (Ross Mohn) 2000/11/29

aleksi.niemela@cinnober.com (Aleksi Niemel) wrote in

[#6723] Re: Array Intersect (&) question — Mathieu Bouchard <matju@...> 2000/12/01

> >Use a hash. Here's code to do both and more. It assumes that

[#6656] printing/accessing arrays and hashes — raja@... (Raja S.)

I'm coming to Ruby with a Python & Common Lisp background.

24 messages 2000/11/30

[ruby-talk:6563] Reading UTF-8 Streams

From: "Johan Liseborn" <johan@...>
Date: 2000-11-23 21:04:36 UTC
List: ruby-talk #6563
Hi,

I am pretty new to ruby and I am very happy with what I have seen so far! I
also bought the book, which seems very good (haven't read all of it yet
though).

I currently have one question, about the support for UTF-8. I have poked
around both in the book and in the source but I haven't found what I am
looking for, so here goes:

Is there any support for reading and writing UTF-8 encoded streams and
having them translated to "internal" format (i.e. 8bit)? I would like to be
able to read stuff from e.g. sockets (or where ever actually :-), and have
it translated to/from UTF-8 (like what is possible with e.g. java streams).

I have noticed that there are command line options to turn on UTF-8 and
other encodings, can I use this in some way?

There are scattered remarks (and source!) making me believe that this is
possible and indeed supported, but I have yet to figure out how!

/johan




In This Thread

Prev Next