SteamRE / open-steamworks

Open Steamworks is a set of reverse engineered headers for the Valve's Steam Client. More or less abandoned now that the Steamworks SDK is publically available.
252 stars 86 forks source link

ReplyToFriendMessage wide characters #22

Closed Salads closed 8 years ago

Salads commented 8 years ago

I can't seem to send people utf8 encoded messages, since the parameter is a const char*

Is there a way to do this with a workaround, or could there be an overloaded function with a wide string?

Netshroud commented 8 years ago

I believe that const char * in this case is a pointer to an array of bytes, not a pointer to an array of ASCII characters. UTF-8 should work, I think Steam uses it internally for international characters etc.

Salads commented 8 years ago

Got it, thanks!