Naughty: Handle invalid UTF-8 more sanely
commit8d59512cccefc65b83c508fbf9dcb3073dc2c5c9
authorUli Schlachter <psychon@znc.in>
Fri, 30 Jul 2010 12:15:42 +0000 (30 14:15 +0200)
committerUli Schlachter <psychon@znc.in>
Fri, 6 Aug 2010 17:52:46 +0000 (6 19:52 +0200)
tree8d38562d185127c7fae35440ce7f53d42176930f
parent457913a0e8d711edfb2e6e086fed05dd663cee35
Naughty: Handle invalid UTF-8 more sanely

Previously, if setting the textbox's text failed this caused more problems later
on. This commit makes sure that an invalid text never breaks pango.

Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/naughty.lua.in