
19 Aug
2010
19 Aug
'10
8:18 p.m.
Mathias Gaunard wrote:
Le 19/08/2010 16:40, Alexander Lamaison a écrit :
On Wed, 18 Aug 2010 16:18:56 -0700, Daniel Trebbien wrote:
wouldn't there be a problem trying to execute a module on Windows that has a non-Latin character in it?
Yes. Boost.Process uses CreateProcessA so would fail to run any executable whose name or path contains a character not present in the user's current ANSI codepage. This means a Russian user could execute a Russian exe but a Russian user could not execute, say, an Arabic one. A British user could execute neither.
How about taking UTF-8 strings and converting them to whatever is best for the operating system?
+1