As an experiment, use PBD::ScopedFileDescriptor in preference to 'ofstream' which...
authorJohn Emmas <johne53@tiscali.co.uk>
Sat, 5 Sep 2015 17:02:32 +0000 (18:02 +0100)
committerJohn Emmas <johne53@tiscali.co.uk>
Sat, 5 Sep 2015 17:02:32 +0000 (18:02 +0100)
commit03163154a2a909d3f41f4a0edb88b0ad640dad97
treea62c2bd5cc5590df1a5979c5b88eb76f2e07392f
parent0b2af5b9b89f2cda6921b82517f4560b91ef05c2
As an experiment, use PBD::ScopedFileDescriptor in preference to 'ofstream' which doesn't support UTF8 (on Windows at least)

This change should ensure that our "been_here_before" file ('.a3' or whatever) will get created successfully - even for user paths with non-English characters in them.

If this experiment works on all platforms, there are several other areas where we'll probably need something similar.
gtk2_ardour/startup.cc