how to deal with chinese!
Posted: Sun May 28, 2006 3:19 pm
I am a chinese developer! recently I work on a project that deal with the software skype! one function is record the chat message from the coversation window .I get the handle of the chat window,and using sendmessage(hwnd ,wm_gettext,buf),get the text of the chat window!when I write the content of buf in a file,I find a strange problem, that the English words in the text are geted ok! all r be geted! but the Chinese words are not,we just get the half of the length of that sentence! such as
in the text, if in one sentence there is four chinese words, only half of that ,two words is geted! why! I cann't solve it! frome the internet,I find that chat window is made from Trichview control! So I come here for help!how will I do to solve it?pls tell me! my mail:alexe_chen@163.com,skye id is alexe2008
in the text, if in one sentence there is four chinese words, only half of that ,two words is geted! why! I cann't solve it! frome the internet,I find that chat window is made from Trichview control! So I come here for help!how will I do to solve it?pls tell me! my mail:alexe_chen@163.com,skye id is alexe2008