diff --git a/unicode_info.py b/unicode_info.py index 53445b2e8a..2732bde9b4 100644 --- a/unicode_info.py +++ b/unicode_info.py @@ -25,6 +25,8 @@ def codepoint(bot, trigger): bot.reply('What code point do you want me to look up?') return NOLIMIT elif len(arg) > 1: + if arg.startswith('U+'): + arg = arg[2:] try: arg = unichr(int(arg, 16)) except: