Blender Git Commit Log

Git Commits -> Revision b39d66a

Revision b39d66a by Harley Acheson (master)
July 2, 2021, 01:08 (GMT)
Fix T88909: Win32 getTitle() UTF8 Support

In the Win32 platform our setTitle() can properly assign a Unicode
utf-8 window title. Unfortunately our getTitle() will only read regular
8-bit character strings. This means that we can never compare what we
set to what we get. This patch updates getTitle() to use Unicode-aware
GetWindowTextLengthW and GetWindowTextW.

see T88909 for an example of this affecting user experience.

Differential Revision:

Reviewed by Ray Molenkamp

Commit Details:

Full Hash: b39d66adde52eb72bd93c2ecd75135fdfc9ca05b
Parent Commit: 0ff1c38
Lines Changed: +7, -3

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021