Home / FAQs / Typing APL Glyphs / How Do I Activate the Unicode IME Programmatically in Dyalog on Windows?
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.
Dyalog APL is an array-oriented programming language that lets you express complex ideas in remarkably little code.
Dyalog is free to use for learning and non-commercial purposes, with licences available for commercial use.
Get tips and the latest news. We’ll never spam you. Unsubscribe at any time.
Copyright © 2004 – 2026 Dyalog Ltd. All rights reserved.