diff --git a/plugins/String/plugin.py b/plugins/String/plugin.py index 91584bee8..9677bd384 100644 --- a/plugins/String/plugin.py +++ b/plugins/String/plugin.py @@ -53,7 +53,7 @@ class String(callbacks.Plugin): def ord(self, irc, msg, args, letter): """ - Returns the 8-bit value of . + Returns the unicode codepoint of . """ irc.reply(str(ord(letter))) ord = wrap(ord, ['letter']) @@ -62,12 +62,12 @@ class String(callbacks.Plugin): def chr(self, irc, msg, args, i): """ - Returns the character associated with the 8-bit value + Returns the unicode character associated with codepoint """ try: irc.reply(chr(i), stripCtcp=False) except ValueError: - irc.error(_('That number doesn\'t map to an 8-bit character.')) + irc.error(_('That number doesn\'t map to a unicode character.')) chr = wrap(chr, ['int']) @internationalizeDocstring