Hi,

At Wed, 30 Nov 2005 00:17:29 +0900,
Robert Klemme wrote in [ruby-talk:167988]:
> > I'm still quite new to ruby, but have written a simple code generator.
> > The generator opens some files and combines them to a new one. The
> > resulting file is encoded as iso-8859-1, but it looks like ruby writes
> > an UTF-8 Markter to the beginning of the file. Is that possible?
> 
> What's an UTF-8 marker?  I know only two byte UTF-16 marker but AFAIK
> there is no marker for UTF-8.  Did I miss something?

It would be UTF-8 encoded BOM, but ruby itself never write it
automatically.

> > How can I tell ruby which encoding to use, if I write to textfiles?

Can't you show the code?

-- 
Nobu Nakada