diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-07-12 21:14:16 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-07-14 12:52:56 +0200 |
| commit | 845224f4756239963eeea896fe68539c95d71a6f (patch) | |
| tree | 8fded24171658d9ecae8d8e163259eec659342d1 /examples | |
| parent | 7426e762a45eb722f605ed6640a21f569ee585af (diff) | |
Windows: convert error message to UTF-8
We need to get the error message in "wide character" format and
convert it to UTF-8. The conversion would truncate it if the
buffer was too small, hence we don't need to check for overflow.
Tested on Windows 10 with VS 2010, including (faked) error codes with
non-ASCII characters (German).
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
