Thanks, guys, for clearing that up. I ended up going with File::BOM just to appease the guy receiving my file. I definately appreciate the explanation of the underlying concepts too, since this is the first time I've had to deal with encoding. Thanks!