# Class EmojiHelper | EchoHub Documentation
Converts emoji grapheme clusters to text shortcodes for safe TUI rendering. Terminal width calculations for emoji are unreliable across different terminals, so we replace them with fixed-width ASCII shortcodes for display only.

# Class EmojiHelper

Namespace
  EchoHub.Client.UI.Helpers

Assembly
  EchoHub.Client.dll

Converts emoji grapheme clusters to text shortcodes for safe TUI rendering. Terminal width calculations for emoji are unreliable across different terminals, so we replace them with fixed-width ASCII shortcodes for display only.

    public static class EmojiHelper

Inheritance
  object
  EmojiHelper

Inherited Members
  object.GetType()
  object.MemberwiseClone()
  object.ToString()
  object.Equals(object)
  object.Equals(object, object)
  object.ReferenceEquals(object, object)
  object.GetHashCode()

## Methods

### ReplaceEmoji(string)

Replace emoji graphemes in the text with :shortcode: equivalents. Non-emoji text passes through unchanged.

    public static string ReplaceEmoji(string text)

#### Parameters

`text` string

#### Returns

string