diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-13 16:39:21 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-13 16:39:26 -0400 |
commit | 02852c19807a874dbdf6531f04ed4242620030c1 (patch) | |
tree | 0e4fd20ab8f545c4d4bbe4ff5b8e5d54f72fa0e8 /libs/ardour/export_handler.cc | |
parent | dc43189c7e014a8295bdf442c8ca4e91d0c9287f (diff) |
fix CUE/TOC file creation with non ISO-8859-1 chars in source text (substitute underscores)
Diffstat (limited to 'libs/ardour/export_handler.cc')
-rw-r--r-- | libs/ardour/export_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/export_handler.cc b/libs/ardour/export_handler.cc index 8034a09079..2dddd52401 100644 --- a/libs/ardour/export_handler.cc +++ b/libs/ardour/export_handler.cc @@ -839,7 +839,7 @@ ExportHandler::toc_escape_cdtext (const std::string& txt) char buf[5]; try { - latin1_txt = Glib::convert (txt, "ISO-8859-1", "UTF-8"); + latin1_txt = Glib::convert_with_fallback (txt, "ISO-8859-1", "UTF-8", "_"); } catch (Glib::ConvertError& err) { throw Glib::ConvertError (err.code(), string_compose (_("Cannot convert %1 to Latin-1 text"), txt)); } |