diff options
author | Terseus <terseus@gmail.com> | 2014-02-18 14:37:22 +0100 |
---|---|---|
committer | Terseus <terseus@gmail.com> | 2014-02-18 14:37:22 +0100 |
commit | 666aeac7137fdd43504c68944597a970e4d0f46c (patch) | |
tree | 670642eb70a9412527f4e2b0b0556c983bb12eb9 /tools/editor/scenes_dock.cpp | |
parent | 891b2bdb4f2d1a1a6a1021ae569242fdf184cacc (diff) |
Fix #19 Can't open project (with non-ASCII path)
In `class OS_Unix` the arguments in the `execute` method are converted
to UTF-8, but in the `main` program's method they're inserted into a
wide-char `Vector` before translating them from UTF-8 and thus the
non-ASCII characters are lost.
This fix converts the `argv` elements to UTF-8 using `String::utf8`
before inserting them in the `Vector`.
Diffstat (limited to 'tools/editor/scenes_dock.cpp')
0 files changed, 0 insertions, 0 deletions