Login  Register

Re: Japanese text can't be inserted to a CwText anymore (with VA Smalltalk 8.0.2)

Posted by John O'Keefe-3 on Mar 04, 2013; 2:27pm
URL: https://forum.world.st/Japanese-text-can-t-be-inserted-to-a-CwText-anymore-with-VA-Smalltalk-8-0-2-tp4673591p4673610.html

Sonja -
 
Please send all this information to [hidden email] so we can open a case on it.
 
Thanks, John

On Monday, March 4, 2013 8:34:13 AM UTC-5, Sonja Stumpf wrote:
Within a japanese "Windows 7" some japanese letters should be entered to a CwText.

With VA Smalltalk 7.5.2 this was possible, with VA Smalltalk 8.0.2 (and even 8.5)
this isn't possible anymore.

What I did to reproduce (with both versions of Smalltalk):

I opened Smalltalk,
loaded the map ENVY/Image Examples,
opened the example launcher,
started CwTextAlignmentExample,
deleted the content of the top CwText,
switched the language (at the IME_editor) to 'Jp' and 'Hiragana'
entered 'ja' and pressed 'enter'.

With V7.5.2 there are 2 japanese letters:
With V8.0.2 there is only 1 letter: (which is wrong).

I had a look at the message queue with spy++ and they are nearly the same:


7.5.2 sends



8.0.2


But the message OSTextEdit>>#wmChar:with: is sent differently:

7.5.2:
wmChar: 130 lParam: 1 LastKey: 229
wmChar: 130 lParam: 1 LastKey: 33462

8.0.2:
wmChar: 130 lParam: 1 LastKey: 229
wmChar: 182 lParam: 1 LastKey: 33462
wmChar: 130 lParam: 1 LastKey: 182
wmChar: 225 lParam: 1 LastKey: 33505

Maybe the peekChar-Method doesn't work correct.
The instance variable of OSTextEdit charSize doesn't work correctly too.

I had a look at the versions of the affected methods but I can't see any (important) difference.

This is a very important issue for our japanese customer,
so I would be happy if anyone has an idea how to solve this.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.