microsoftgraph / msgraph-sdk-ruby

Microsoft Graph Ruby client library for v1 APIs
https://graph.microsoft.com
MIT License
105 stars 68 forks source link

Emoji support: Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8 #50

Closed KevinColemanInc closed 1 year ago

KevinColemanInc commented 5 years ago

I am trying to call to_json on a message with the subject and body having emojis (🎡✈️).

The following exception in thrown:

Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8
baywet commented 1 year ago

Thanks for reporting this issue. That version of the SDK has been deprecated a number of years ago. We're now starting the work on a new generation of this SDK and you can learn all about it on the updated readme page.