mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-30 05:12:42 +00:00
Bug fixes
Fix compatibility issue for some ShadowsocksD subscription. Fix some cross-platform configuration file reader bugs. Add upload to Gist function. Add append MANAGED-CONFIG to Surge configuration function. Clean up codes.
This commit is contained in:
@@ -129,7 +129,7 @@ public:
|
||||
string_multimap itemGroup, existItemGroup;
|
||||
std::stringstream strStrm;
|
||||
unsigned int lineSize = 0;
|
||||
char delimiter = count(content.begin(), content.end(), '\n') <= 1 ? '\r' : '\n';
|
||||
char delimiter = count(content.begin(), content.end(), '\n') < 1 ? '\r' : '\n';
|
||||
|
||||
EraseAll(); //first erase all data
|
||||
if(do_utf8_to_gbk && is_str_utf8(content))
|
||||
|
||||
Reference in New Issue
Block a user