On Fri, Sep 7, 2018 at 1:41 AM Jim Acquavella <
loude...@gmail.com> wrote:
> Is this api expecting a utf8 string or ansi?
>
> bool v8::V8::InitializeICUDefaultLocation(const char * exec_path,
> const char * icu_data_file = nullptr
> )
>
> It would be sort of ironic if the exec path for setting up the ICU location wasn't unicode! But, it does seem to handle multibyte paths ok, but not unicode. -Jim
It calls LoadLibraryA() on Windows, fopen() on other platforms. I
expect most embedders bundle ICU and V8 together and never deal with
file paths in the first place.