Emojione.ShortnameToUnicode Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

ShortnameToUnicode(string, bool)

Converts shortname emojis to unicode, useful for sending emojis back to mobile devices.

public static string ShortnameToUnicode(string str, bool ascii = false)

Parameters

str
string

The input string

ascii
bool

true to also convert ascii emoji in the inpur string to unicode.

Returns

string

A string with unicode replacements