Talk:Valid chat message characters

byte 124 (vertical pipe) is causing disconnects when in the message string of SendChatMessage, in 3.1.3 Corwin MacGregor (talk) 05:55, 31 July 2009 (UTC)

Archive of original discussion
I tested each character by sending it to a custom channel named "test". Then I converted the received character to its ID and compared it with the original ID. Especially on a byte-per-byte basis SendChatMessage has its restrictions (beside the 255 character - better say byte - thing).

Be very careful with splitting a UTF-8 text! You can end up with unexpected UTF-8 errors. According to UTF-8: the error described above is not a big problem if your addon doesn't split a UTF-8 character into its byte-parts (I had the problem while automatically splitting messages that exceeded the maximum of 255 bytes!)

does not have any of those byte problems (except 0000 0000 and forbidden "\t" in prefix).

''The previous discussion was originally written by User:Ohklus as part of the article itself on or around 28 Dec 2007. Reformatted and transferred to the talk page by DDC (talk) 20:49, 22 May 2020 (UTC)''