(mac) convert SSL errors to utf8

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

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"