# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1333360147 0 # Node ID 5c8a5c894ab051a54d08b7aac587964f6498a1c4 # Parent c6ebff29a916af3cc4ff2e8c999feee913ebcddd Set the OS/2 codepage to 1208 (UTF-8) when creating the message queue. On supported versions of OS/2 (WSeB and eCS) this will enabled UTF-8 support in Dynamic Windows. Unsupported versions will remain in the default native codepage. diff -r c6ebff29a916 -r 5c8a5c894ab0 os2/dw.c --- a/os2/dw.c Sat Mar 31 17:17:11 2012 +0000 +++ b/os2/dw.c Mon Apr 02 09:49:07 2012 +0000 @@ -4022,6 +4022,8 @@ { dwhab = WinInitialize(0); dwhmq = WinCreateMsgQueue(dwhab, 0); + /* Set the codepage to 1208 (UTF-8) */ + WinSetCp(dwhmq, 1208); } rc = WinRegisterClass(dwhab, (PSZ)ClassName, _wndproc, CS_SIZEREDRAW | CS_CLIPCHILDREN, 32); diff -r c6ebff29a916 -r 5c8a5c894ab0 readme.txt --- a/readme.txt Sat Mar 31 17:17:11 2012 +0000 +++ b/readme.txt Mon Apr 02 09:49:07 2012 +0000 @@ -27,6 +27,7 @@ Added UNICODE build mode on Windows allowing UTF-8 encoded text. ANSI builds are supported by removing -DUNICODE -D_UNICODE and -DAEROGLASS Added support for antialiased drawing on Windows via GDI+. +Added codepage 1208 (UTF-8) as the default codepage on OS/2. Fixed value changed events not working for spinbuttons on OS/2 and Windows. Fixed an issue drawing arcs on GTK3 and GTK2 for printing.