[VW7.6] [Windows] Setting WindowsInputManager encoder on start

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
vam
Reply | Threaded
Open this post in threaded view
|

[VW7.6] [Windows] Setting WindowsInputManager encoder on start

vam
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [VW7.6] [Windows] Setting WindowsInputManager encoder onstart

Kooyman, Les
[vwnc] [VW7.6] [Windows] Setting WindowsInputManager encoder onstart
You may want to consider VisualWorks 7.7 (which should be released Real Soon Now). The implementation for WindowsInputManager class>>initializeEncoder (in VisualWorks 7.7) reads:
 
initializeEncoder
 
     Encoder := Win32SystemSupport vmPreferredEncoding = #UTF16
        ifTrue: [ UnicodeCharacterEncoder new ]
        ifFalse: [ CharacterEncoderPool.MS_CP_1252 ]
 
This goes along with other Locale enhancements (including more accurate information about the platform's locale and encoding settings, the better to set values in VisualWorks to match) and should be available in release soon. The number of locales included increases from 15 to over 400.
 
Les Kooyman
Cincom


From: [hidden email] on behalf of VAM
Sent: Thu 11/19/2009 10:21 PM
To: [hidden email]
Subject: [vwnc] [VW7.6] [Windows] Setting WindowsInputManager encoder onstart


Hi!

When Locale subsystem starts, executing next message chain
Locale>> setUp
Locale>>platformHookup.
InputManager>>platformHookup.
WindowsInputManager>>initializeEncoder

and initializeEncoder implemented as

WindowsInputManager>>initializeEncoder
     Encoder := CharacterEncoderPool.MS_CP_1252

Is smalltalk starts with input language different cp1252,  for example
russian (1251), then
right input characters from keyboard is broken.

If switches between input languages then it becom works correctly.

I cannot lookup what I must  do for correctly set WindowsInputManager
encoder.
I found WindowsInputManager>>charSet: , exist only this way?


--
View this message in context: http://old.nabble.com/-VW7.6---Windows--Setting-WindowsInputManager-encoder-on-start-tp26424221p26424221.html
Sent from the VisualWorks mailing list archive at Nabble.com.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc