A
Achim Domma (SyynX Solutions GmbH)
Hi,
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?
How can I tell ruby which encoding to use, if I write to textfiles?
Any pointers to documentation are wellcome, but I didn't find something
usefull using google.
regards,
Achim
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?
How can I tell ruby which encoding to use, if I write to textfiles?
Any pointers to documentation are wellcome, but I didn't find something
usefull using google.
regards,
Achim