styledtext: gibberish codes

Frank Benoit keinfarbton at googlemail.com
Sat Aug 23 06:22:12 PDT 2008


yidabu schrieb:
> On Sat, 23 Aug 2008 03:12:22 +0200
> Frank Benoit <keinfarbton at googlemail.com> wrote:
> 
>> yidabu schrieb:
>>> On Sat, 23 Aug 2008 00:46:05 +0200
>>> Frank Benoit <keinfarbton at googlemail.com> wrote:
>>>
>>>> yidabu schrieb:
>>>>> no problem when paste Chinese to the stylted text. but when type in by Chinese IME (Windows XP), the program crashed or show gibber code.
>>>>>
>>>>>
>>>>> http://img151.imageshack.us/my.php?image=20080823063435rf7.jpg
>>>>>
>>>>>
>>>> Can you explain how i can reproduce that on an US-keyboard?
>>>> I have no experience in typing chinese. Which software do you use? Is
>>>> there a free software?
>>> Frank Benoit, Hello  
>>>   
>>>   
>>> yidabu, yidabu at gmail.com 
>>> 2008-08-23  
>>> ----- Receiving the following content -----  
>>> From:  Frank Benoit  
>>> Receiver:  yidabu  
>>> Time: 2008-08-22, 15:18:21 
>>> Subject: Re: styledtext Snippet 211, 213, 217, 218, 222, 244 
>>>
>>>
>>>
>>>
>>>> yidabu schrieb: 
>>>>> hello, 
>>>>>
>>>>> I ported some styledtext snippets. 
>>>>>
>>>>> thanks for you great work. 
>>>>>
>>>>> styledtext snippets are not crashed now, but when snippet runing, and typing in multi-bytes characters(e.g. Chinese), the result is gibberish codes. 
>>>>>
>>>>>
>>>>> best regards. 
>>>>>
>>>>> yidabu 
>>>>>    
>>>> Thanks for the snippets. 
>>>> To transfer your work, just one bundle is necessary. 
>>>>  hg bundle --base 123 yidabu.bdl 
>>>> Now yidabu.bdl contains all your changes. 
>>>>
>>>> Please retry with the new fixes in dwt-win. 
>>>>
>>>> Frank 
>>>>
>>> I sent you a chinese IME(freeware), after installed, press keys khlg then press space to enter 中国
>>>
>>>
>>>
>> seems like 'zhongguo<SPACE>' produces the China characters with the
>> winXp IME.
> 
> right. 
> 

After fixes this seems to work now.
http://www.dsource.org/projects/dwt-win/changeset/297%3A7d431a32f71e
http://www.dsource.org/projects/dwt-win/changeset/298%3A8fa53b71485d

Can you please retry?


More information about the Digitalmars-d-dwt mailing list