Mercurial > dwindows
changeset 1639:5c8a5c894ab0
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.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 02 Apr 2012 09:49:07 +0000 |
parents | c6ebff29a916 |
children | b8604e5fc85e |
files | os2/dw.c readme.txt |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);
--- 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.