#ifdef ENABLE_NLS
bindtextdomain("synfig", LOCALEDIR);
+ bind_textdomain_codeset("synfig", "UTF-8");
textdomain("synfig");
#endif
// Open the composition
String errors, warnings;
- job_list.front().root=open_canvas(job_list.front().filename, errors, warnings);
+ try
+ {
+ job_list.front().root=open_canvas(job_list.front().filename, errors, warnings);
+ }
+ catch(runtime_error x)
+ {
+ job_list.front().root = 0;
+ }
if(!job_list.front().root)
{