Boost logo

Boost :

Subject: Re: [boost] [gsoc] Boost.Process done
From: Ilya Sokolov (ilyasokol_at_[hidden])
Date: 2010-08-19 16:18:19


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk