Compiling To LaTeX -- One file per section?

Discovery:

When I run my Ruby splitter script from the command line, the input file is seen as UTF-8 encoding. When I run it from the Processing tab in Scrivener, the file is seen as US-ASCII. The latter does not work.

Adding the line

ARGF.set_encoding(Encoding::UTF_8) 

before reading the file solves the problem.

I don’t see anything in Ioa’s writeup talking about US-ASCII vs UTF=8. Did I miss it, is there a setting I missed, or ?

thanks!