How Do I Activate the Unicode IME Programmatically in Dyalog on Windows?

Last updated on: 9 July, 2026

You can activate the Dyalog Unicode IME from Dyalog by calling the Windows LoadKeyboardLayoutW function and loading the appropriate keyboard layout ID.

Load the Windows API Function

'loadkeyb'⎕NA 'user32.dll|LoadKeyboardLayoutW <0T I4'

Activate the Dyalog Unicode IME (Example: UK)

loadkeyb 'e0990809' 259

Other Unicode IME Layout IDs

loadkeyb 'e0990406' 259   DK
loadkeyb 'e0990407' 259   DE
loadkeyb 'e0990409' 259   US
loadkeyb 'e099040A' 259   ES
loadkeyb 'e099040B' 259   FI
loadkeyb 'e099040C' 259   FR
loadkeyb 'e0990410' 259   IT
loadkeyb 'e099041D' 259   SE

Switch Back to the Standard UK Layout

loadkeyb '00000809' 259

Summary

Bind LoadKeyboardLayoutW using ⎕NA and call it with the desired keyboard layout ID to activate or switch input methods.

Vince Chan
Still Have an Issue?
If you’ve got a technical query, you might find the answer in our documentation or on our forums. Otherwise, please email us at support@dyalog.com, call +44 1256 830030, or send us a message.

Vince Chan, Customer Support

Get Support