[REBOL] Re: Read question in Reb 3.0
From: robert:muench:robertmuench at: 14-Feb-2009 11:45
Am 14.02.2009, 11:11 Uhr, schrieb Raimund Dold <raimunddold-web.de>:
> maybe I did not find the answer in the docs, but anyway.
>
> In R2.0 I regularly used something like read/lines %myfile.txt to read a
> file and get the single lines. How I am supposed to do this in R3?
Hi, because R3 supports unicode and unicode can be encoded in different
ways, you know have to specify a "format" you want the data to be loaded.
Try:
deline to-string read %myfile.txt
--
Robert M. Münch
Mobile: +49 (177) 245 2802
http://www.robertmuench.de