I have built V8 with the "v8_enable_i18n_support=true" gn flag and I can successfully initialize it by providing the location of the "icudtl.dat" file (created during the v8 build process):
bool success = V8::InitializeICU("/path_to/icudtl.dat"); I was wondering if instead of providing the location of this file on the file system, it is possible to pass a pointer to the contents? I would like to somehow embed this file into my application. For example for the V8 heap snapshot there are the "V8::SetNativesDataBlob" and "V8::SetSnapshotDataBlob" APIs which allow me to directly pass a pointer to "natives_blob.bin" and "snapshot_blob.bin" file contents and I don't need to distribute them separately. By looking at the InitializeICU https://chromium.googlesource.com/v8/v8.git/+/refs/heads/master/src/init/icu_util.cc#65 method I couldn't find any way to achieve this. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/e2688af8-89af-410f-9738-21923e91cfb3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.