anibud New Member Joined May 30, 2010 Messages 9 Reaction score 2 Jun 19, 2010 #1 I'm developing a plugin and I have a problem with ChatMessageEventArgs.Message.Sender not being able to correctly return a utf8 encoded string. Can one of the developers look into this and possibly fix it? Thank you!
I'm developing a plugin and I have a problem with ChatMessageEventArgs.Message.Sender not being able to correctly return a utf8 encoded string. Can one of the developers look into this and possibly fix it? Thank you!
okeofs New Member Joined Jan 15, 2010 Messages 303 Reaction score 1 Jun 19, 2010 #2 I'm pretty sure HB doesn't support unicode.
Apoc Well-Known Member Joined Jan 16, 2010 Messages 2,790 Reaction score 94 Jun 27, 2010 #3 anibud said: I'm developing a plugin and I have a problem with ChatMessageEventArgs.Message.Sender not being able to correctly return a utf8 encoded string. Can one of the developers look into this and possibly fix it? Thank you! Click to expand... Just a quick hack until it's fixed; Encoding.UTF8.GetString(Encoding.ASCII.GetBytes(e.Message.Sender)) It may, or may not work properly. Test it and find out.
anibud said: I'm developing a plugin and I have a problem with ChatMessageEventArgs.Message.Sender not being able to correctly return a utf8 encoded string. Can one of the developers look into this and possibly fix it? Thank you! Click to expand... Just a quick hack until it's fixed; Encoding.UTF8.GetString(Encoding.ASCII.GetBytes(e.Message.Sender)) It may, or may not work properly. Test it and find out.