digitalmars.D.dwt - styledtext: gibberish codes
- yidabu (12/12) Aug 21 2008 running sytledtext snippet, type in multi-bytes characters, the result i...
- Frank Benoit (3/9) Aug 22 2008 I found two problematic places. The example works now.
- yidabu (25/35) Aug 22 2008 still now work.
- Frank Benoit (3/35) Aug 22 2008 I do not get this.
- yidabu (21/58) Aug 22 2008 1, update dwt-win locae copy
- Frank Benoit (4/56) Aug 22 2008 Hm, this runs for me:
- yidabu (12/70) Aug 22 2008 no problem when paste Chinese to the stylted text. but when type in by C...
- Frank Benoit (4/10) Aug 22 2008 Can you explain how i can reproduce that on an US-keyboard?
- Bill Baxter (13/23) Aug 22 2008 You have to go to the Regional & Language Options control panel.
- Frank Benoit (10/24) Aug 22 2008 Ok, i did install Chinese simplified IME 3.0
- yidabu (21/56) Aug 22 2008 Frank Benoit, Hello
-
Frank Benoit
(3/59)
Aug 22 2008
seems like 'zhongguo
' produces the China characters with the - yidabu (11/71) Aug 22 2008 right.
- Frank Benoit (5/68) Aug 23 2008 After fixes this seems to work now.
- yidabu (11/81) Aug 23 2008 work now. thanks!
running sytledtext snippet, type in multi-bytes characters, the result is gibberish code. e.g. type in 中国 (means China), I tested with two IMEs, 1, the result is gibberish code 2, the snippet creashed. -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/
Aug 21 2008
yidabu schrieb:running sytledtext snippet, type in multi-bytes characters, the result is gibberish code. e.g. type in 涓浗 (means China), I tested with two IMEs, 1, the result is gibberish code 2, the snippet creashed.I found two problematic places. The example works now. Can you please retry.
Aug 22 2008
On Fri, 22 Aug 2008 09:13:46 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:still now work. Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at pintlgnt.dll (0x3a61e573) thread(2128) ->us dwt\widgets\Display.d:3521 () from dmain2 () from dmain2 -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/running sytledtext snippet, type in multi-bytes characters, the result is gibberish code. e.g. type in 中国 (means China), I tested with two IMEs, 1, the result is gibberish code 2, the snippet creashed.I found two problematic places. The example works now. Can you please retry.
Aug 22 2008
yidabu schrieb:On Fri, 22 Aug 2008 09:13:46 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:I do not get this. Can you describe more detailed how you can produce that?yidabu schrieb:still now work. Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at pintlgnt.dll (0x3a61e573) thread(2128) ->us dwt\widgets\Display.d:3521 () from dmain2 () from dmain2running sytledtext snippet, type in multi-bytes characters, the result is gibberish code. e.g. type in 涓浗 (means China), I tested with two IMEs, 1, the result is gibberish code 2, the snippet creashed.I found two problematic places. The example works now. Can you please retry.
Aug 22 2008
On Fri, 22 Aug 2008 12:32:36 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:1, update dwt-win locae copy 2, dsss 0.75 to building dwt.lib 3, dmd 1.033 to building styledtext snippet for example, build.bat: set flags=D:\dwt-samples\dwt.res -L/SUBSYSTEM:windows:5 -JD:\dwt-samples\res -debug -g -unittest set src=Snippet218 dmd %src%.d %flags% %src% del *.obj *.map pause 4, the snippets still not work -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/On Fri, 22 Aug 2008 09:13:46 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:I do not get this. Can you describe more detailed how you can produce that?yidabu schrieb:still now work. Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at pintlgnt.dll (0x3a61e573) thread(2128) ->us dwt\widgets\Display.d:3521 () from dmain2 () from dmain2running sytledtext snippet, type in multi-bytes characters, the result is gibberish code. e.g. type in 中国 (means China), I tested with two IMEs, 1, the result is gibberish code 2, the snippet creashed.I found two problematic places. The example works now. Can you please retry.
Aug 22 2008
yidabu schrieb:On Fri, 22 Aug 2008 12:32:36 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:Hm, this runs for me: http://img373.imageshack.us/my.php?image=snippet218jq3.png I use QuickKey to "type" the two chinese characters.yidabu schrieb:1, update dwt-win locae copy 2, dsss 0.75 to building dwt.lib 3, dmd 1.033 to building styledtext snippet for example, build.bat: set flags=D:\dwt-samples\dwt.res -L/SUBSYSTEM:windows:5 -JD:\dwt-samples\res -debug -g -unittest set src=Snippet218 dmd %src%.d %flags% %src% del *.obj *.map pause 4, the snippets still not workOn Fri, 22 Aug 2008 09:13:46 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:I do not get this. Can you describe more detailed how you can produce that?yidabu schrieb:still now work. Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at pintlgnt.dll (0x3a61e573) thread(2128) ->us dwt\widgets\Display.d:3521 () from dmain2 () from dmain2running sytledtext snippet, type in multi-bytes characters, the result is gibberish code. e.g. type in 涓浗 (means China), I tested with two IMEs, 1, the result is gibberish code 2, the snippet creashed.I found two problematic places. The example works now. Can you please retry.
Aug 22 2008
On Fri, 22 Aug 2008 15:01:04 +0200 Frank Benoit <keinfarbton 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 -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/On Fri, 22 Aug 2008 12:32:36 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:Hm, this runs for me: http://img373.imageshack.us/my.php?image=snippet218jq3.png I use QuickKey to "type" the two chinese characters.yidabu schrieb:1, update dwt-win locae copy 2, dsss 0.75 to building dwt.lib 3, dmd 1.033 to building styledtext snippet for example, build.bat: set flags=D:\dwt-samples\dwt.res -L/SUBSYSTEM:windows:5 -JD:\dwt-samples\res -debug -g -unittest set src=Snippet218 dmd %src%.d %flags% %src% del *.obj *.map pause 4, the snippets still not workOn Fri, 22 Aug 2008 09:13:46 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:I do not get this. Can you describe more detailed how you can produce that?yidabu schrieb:still now work. Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at pintlgnt.dll (0x3a61e573) thread(2128) ->us dwt\widgets\Display.d:3521 () from dmain2 () from dmain2running sytledtext snippet, type in multi-bytes characters, the result is gibberish code. e.g. type in 中国 (means China), I tested with two IMEs, 1, the result is gibberish code 2, the snippet creashed.I found two problematic places. The example works now. Can you please retry.
Aug 22 2008
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.jpgCan 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?
Aug 22 2008
You have to go to the Regional & Language Options control panel. Click "languages" tab. and click "Details..." There you can select "Add..." button that's inside the "Installed services" box. That should pop up an "Add Input Lanuguage" dialog. From there select Japanese or Chinese or Korean, and check the box that says KeyboardLayout/IME. ... next step is to figure out how to actually use the IME. :-) The difference between pasting and using an IME is that when you use an IME, Windows sends a bunch of different messages to the text control that have to do with the status of the input. --bb On Sat, Aug 23, 2008 at 7:46 AM, Frank Benoit <keinfarbton 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.jpgCan 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?
Aug 22 2008
Bill Baxter schrieb:You have to go to the Regional & Language Options control panel. Click "languages" tab. and click "Details..." There you can select "Add..." button that's inside the "Installed services" box. That should pop up an "Add Input Lanuguage" dialog. From there select Japanese or Chinese or Korean, and check the box that says KeyboardLayout/IME. .... next step is to figure out how to actually use the IME. :-) The difference between pasting and using an IME is that when you use an IME, Windows sends a bunch of different messages to the text control that have to do with the status of the input. --bbOk, i did install Chinese simplified IME 3.0 Now when i open notepad i can type and get characters. But i don't know when a codepoint is completed. Sometime 2 characters are produced at the same time. Can someone give some examples of characters and the exact keyboard sequence that is needed and the resulting unicode number? for example, \u4E2D \u56FD
Aug 22 2008
On Sat, 23 Aug 2008 00:46:05 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:Frank Benoit, Hello yidabu, yidabu 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, 244no 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.jpgCan 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?yidabu schrieb:I sent you a chinese IME(freeware), after installed, press keys khlg then press space to enter 中国 -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/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. yidabuThanks 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
Aug 22 2008
yidabu schrieb:On Sat, 23 Aug 2008 00:46:05 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:seems like 'zhongguo<SPACE>' produces the China characters with the winXp IME.yidabu schrieb:Frank Benoit, Hello yidabu, yidabu 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, 244no 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.jpgCan 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?yidabu schrieb:I sent you a chinese IME(freeware), after installed, press keys khlg then press space to enter 涓浗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. yidabuThanks 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
Aug 22 2008
On Sat, 23 Aug 2008 03:12:22 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:right. -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/On Sat, 23 Aug 2008 00:46:05 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:seems like 'zhongguo<SPACE>' produces the China characters with the winXp IME.yidabu schrieb:Frank Benoit, Hello yidabu, yidabu 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, 244no 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.jpgCan 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?yidabu schrieb:I sent you a chinese IME(freeware), after installed, press keys khlg then press space to enter 中国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. yidabuThanks 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
Aug 22 2008
yidabu schrieb:On Sat, 23 Aug 2008 03:12:22 +0200 Frank Benoit <keinfarbton googlemail.com> wrote: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?yidabu schrieb:right.On Sat, 23 Aug 2008 00:46:05 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:seems like 'zhongguo<SPACE>' produces the China characters with the winXp IME.yidabu schrieb:Frank Benoit, Hello yidabu, yidabu 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, 244no 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.jpgCan 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?yidabu schrieb:I sent you a chinese IME(freeware), after installed, press keys khlg then press space to enter 涓浗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. yidabuThanks 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
Aug 23 2008
On Sat, 23 Aug 2008 15:22:12 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:work now. thanks! -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/On Sat, 23 Aug 2008 03:12:22 +0200 Frank Benoit <keinfarbton googlemail.com> wrote: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?yidabu schrieb:right.On Sat, 23 Aug 2008 00:46:05 +0200 Frank Benoit <keinfarbton googlemail.com> wrote:seems like 'zhongguo<SPACE>' produces the China characters with the winXp IME.yidabu schrieb:Frank Benoit, Hello yidabu, yidabu 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, 244no 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.jpgCan 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?yidabu schrieb:I sent you a chinese IME(freeware), after installed, press keys khlg then press space to enter 中国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. yidabuThanks 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
Aug 23 2008