Escape cue cd-text like toc
Really do what 02852c1980
says, which only fixed toc files.
This commit is contained in:
parent
0fd1edd78e
commit
37e7fe9963
@ -1019,7 +1019,7 @@ ExportHandler::cue_escape_cdtext (const std::string& txt)
|
||||
std::string out;
|
||||
|
||||
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…
Reference in New Issue
Block a user