El 5 de desembre de 2011 12:09, Glus Xof <[email protected]> ha escrit:
> El 5 de desembre de 2011 11:09, Juan Angel Moreno <[email protected]> ha 
> escrit:
>> Have you tried with this?: Glib::ustring s_mess = make_messages (message,
>> message.bytes());
>>
>> I think that the byte size of "Hello..." in UTF-8 is 8, but the size in
>> bytes of "Привет..." is not 9.
>
> ... The second parameter of make_messages takes the length of the
> first part of send message...
>
> For example:

make_messages ("hello", 3) produces "005hello", and make_messages
("hello...", 1), "8hello...",

Glus
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to