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.
Vince Chan, Customer Support
Get tips and the latest news. We’ll never spam you. Unsubscribe at any time.
Copyright © 2004 – 2026 Dyalog Ltd.
Technical advice and assistance on all aspects of Dyalog usage is available by e-mail (support@dyalog.com) and/or telephone (+44 1256 830030 – limited to U.K. office hours). Limited advice on design and coding is available, but is not intended to replace the use of the printed and on-line documentation. Except when reporting an issue with the software, users are encouraged to seek advice from the user community via the Dyalog Forum (reading the content of the forums does not require membership).