Skip to content

convert emoji in string literals to basic latin (0-127 ASCII range)

Mateusz Brawański requested to merge github/fork/uwx/patch-34 into master

Created by: uwx

Summary

escapes emoji in string literals in DiscordEmoji.EmojiUtils.cs

Details

the emoji could cause encoding problems in some platforms. i'm not sure whether you'd consider that a lib issue or a client problem, but here is a fix.

Changes proposed

  • escape the emoji in string literals with \u
  • improve lib quality by 3%
  • improve productivity by 0.07%

Merge request reports

Loading