diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-11-20 20:12:02 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-11-29 16:29:54 +0100 |
| commit | 727bd94560ca9056cdbe40fe2e7923ed008b6eac (patch) | |
| tree | f0d202b6c72415751445bfd91f29dd96fe3f59d2 /FL/Fl.H | |
| parent | a0e4a3fd5d028694e9fa74d2de55eb4f3c3f14b0 (diff) | |
Add commandline conversion for Windows (no-op on other platforms)
- add Fl::args_to_utf8() to convert commandline arguments to UTF-8
This new function closes the gap that previously only Visual Studio
applications converted their commandlines to UTF-8.
Tested with MinGW, MSYS2/MinGW-w64, and Visual Studio (2019).
Diffstat (limited to 'FL/Fl.H')
| -rw-r--r-- | FL/Fl.H | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1398,6 +1398,9 @@ public: static int system(const char *command); + // Convert Windows commandline arguments to UTF-8 (documented in src/Fl.cxx) + static int args_to_utf8(int argc, char ** &argv); + #ifdef FLTK_HAVE_CAIRO /** \defgroup group_cairo Cairo Support Functions and Classes @{ |
