add some special character conversion

Origin commit data
------------------
Commit: a682d4b74d
Author: TangoCash <eric@loxat.de>
Date: 2020-09-15 (Tue, 15 Sep 2020)
This commit is contained in:
TangoCash
2020-09-15 08:19:03 +02:00
committed by vanhofen
parent 17e128226f
commit b2faa95c1a

View File

@@ -615,6 +615,16 @@ bool CPictureViewer::GetLogoName(const uint64_t &ChannelID, const std::string &C
SpecialChannelName = str_replace("ü", "u", SpecialChannelName);
SpecialChannelName = str_replace("+", "___plus___", SpecialChannelName);
SpecialChannelName = str_replace("&", "___and___", SpecialChannelName);
//
SpecialChannelName = str_replace(",", "-", SpecialChannelName);
SpecialChannelName = str_replace(";", "-", SpecialChannelName);
SpecialChannelName = str_replace(":", "-", SpecialChannelName);
SpecialChannelName = str_replace("*", "-", SpecialChannelName);
SpecialChannelName = str_replace("'", "-", SpecialChannelName);
SpecialChannelName = str_replace("?", "-", SpecialChannelName);
SpecialChannelName = str_replace("|", "-", SpecialChannelName);
SpecialChannelName = str_replace("/", "-", SpecialChannelName);
SpecialChannelName = str_replace("\\", "-", SpecialChannelName);
// create channel id as string
char strChnId[16];