File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ bool Client::startup() {
85
85
[&](float aProgress) {}
86
86
);
87
87
88
+ if (Text::systemCharset.empty () || Text::systemCharset == " ANSI_X3.4-1968" ) {
89
+ LogManager::getInstance ()->message (" System encoding is not set. This will cause issues with non-ASCII characters." , LogMessage::SEV_ERROR);
90
+ }
91
+
88
92
auto webResources = Util::getStartupParam (" --web-resources" );
89
93
printf (" Starting web server" );
90
94
auto serverStarted = webserver::WebServerManager::getInstance ()->start ([](const string& aError) {
@@ -118,7 +122,7 @@ bool Client::startup() {
118
122
if (!Util::hasStartupParam (" --no-autoconnect" )) {
119
123
FavoriteManager::getInstance ()->autoConnect ();
120
124
}
121
-
125
+
122
126
auto cdmHub = Util::hasStartupParam (" --cdm-hub" );
123
127
auto cdmClient = Util::hasStartupParam (" --cdm-client" );
124
128
if (cdmHub || cdmClient) {
@@ -133,7 +137,7 @@ void Client::shutdown() {
133
137
if (!started) {
134
138
return ;
135
139
}
136
-
140
+
137
141
cdmDebug.reset (nullptr );
138
142
139
143
ClientManager::getInstance ()->putClients ();
You can’t perform that action at this time.
0 commit comments