diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-11-22 18:26:54 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-11-22 18:27:34 +0300 |
commit | 177dfc6384b926dd19e3b7e98a995ccb4da9167c (patch) | |
tree | 865abe9f707bee039a506bfc17cb4cff218bd6c6 /extern/wcwidth/README.blender | |
parent | 1304cee920c5f01fd9f0474ea782db61ac031403 (diff) |
Fix T71273: Bad encoding of utf-8 for Text objects
`BLI_strncpy_wchar_from_utf8` internally assumes `wchar_t` is 32 bits
which is not the case on windows.
The solution is to replace `wchar_t` with `char32_t`.
Thanks to @robbott for compatibility on macOS.
Differential Revision: https://developer.blender.org/D6198
Diffstat (limited to 'extern/wcwidth/README.blender')
-rw-r--r-- | extern/wcwidth/README.blender | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extern/wcwidth/README.blender b/extern/wcwidth/README.blender index 27c8574d1d7..3b32ddc5bc9 100644 --- a/extern/wcwidth/README.blender +++ b/extern/wcwidth/README.blender @@ -2,4 +2,6 @@ Project: WC Width URL: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c License: ICS Upstream version: 2007-05-26 -Local modifications: None +Local modifications: +* Fix T33192 + Bad encoding of utf-8 on windows systems. |