Re: [hlcoders] bf_write and unsigned characters

2006-06-04 Thread James
-- [ Picked text/plain from multipart/alternative ] I've found my problem: It seems I need to make the messages I send UTF-8 encoded where as I was just sending my messages before in plain ANSI. The characters <128 must have been recognized as part of the UTF-8 encoding and thus were incomplete sin

Re: [hlcoders] bf_write and unsigned characters

2006-06-03 Thread John Sheu
> However, when I attempt to write out a message that contains characters that > are greater than 128 (unsigned) in byte size, they get stripped. I've also > tried replacing the WriteChar() in the WriteString() function with > WriteByte() but I still get the same result. Is there any way to write t

RE: [hlcoders] bf_write and unsigned characters

2006-06-03 Thread Yahn Bernier
wed(); } Yahn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Sent: Friday, June 02, 2006 11:56 PM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] bf_write and unsigned characters -- [ Picked text/plain from multipart/alternative ] I've been trying

[hlcoders] bf_write and unsigned characters

2006-06-03 Thread James
-- [ Picked text/plain from multipart/alternative ] I've been trying to output messages that contain thësê kïñd of chæråchtèrs to allow for multiple languages in my server plugin. For example, I would use this code to output a chat area message: void ChatAreaMsg(int index, char *msg) { MRecipie