(mac) convert SSL errors to utf8

This commit is contained in:
Benjamin Sergeant 2019-12-06 16:45:49 -08:00
parent 615df9cef0
commit 9c047fac72
3 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.
## [7.5.1] - 2019-12-06
(mac) convert SSL errors to utf8
## [7.5.0] - 2019-12-05
- (ws) cobra to sentry. Handle Error 429 Too Many Requests and politely wait before sending more data to sentry.

View File

@ -118,7 +118,7 @@ namespace
char localBuffer[128];
Boolean success;
success =
CFStringGetCString(message, localBuffer, 128, CFStringGetSystemEncoding());
CFStringGetCString(message, localBuffer, 128, kCFStringEncodingUTF8);
if (success)
{
errMsg = localBuffer;

View File

@ -6,4 +6,4 @@
#pragma once
#define IX_WEBSOCKET_VERSION "7.5.0"
#define IX_WEBSOCKET_VERSION "7.5.1"