AEGP_AddCompToRenderQueue doesn't accept unicode paths
Hi,
I'm using the AEGP_AddCompToRenderQueue API to add a composition to the render queue.
Here's its signature:
SPAPI A_Err (*AEGP_AddCompToRenderQueue)(
AEGP_CompH comp, /* >> */
const A_char* pathZ);
A problem occurs when my paths contain unicode characters. I'm holding everything as wstrings, but then I convert to utf8
before passing them into the API, since it calls for A_char. Unfortunately, it seems like it doesn't like utf8; for example,
passing the filename string
testš.mp4
causes the render queue to save a file as
testš.mp4
How to solve this?
I'm working on Windows.
Thanks in advance.
