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
Is your input string UTF-8 encoded ( looks like char * with high bits ) or Unicode 16 (two bytes per character)? You should be able to do what you are trying to do, but you could always write your own version of WriteString that used the WriteBytes API instead and just txmit the data as raw bin