mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-24 22:27:36 +01:00
fix CUE/TOC file creation with non ISO-8859-1 chars in source text (substitute underscores)
This commit is contained in:
parent
dc43189c7e
commit
02852c1980
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue