You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a custom GFX processor class derived from MegaGfxProcessor.
MEGA SDK documentation doesn't mention this but const char* path parameter in function MegaGfxProcessor::readBitmap contains a pointer to UTF-16 encoded string (which is odd) on Windows.
I cannot use this string as wide-char string because it is not null-terminated in UTF-16 sense (
it should contain two zero bytes at the end), so I cannot determine it's length.
The text was updated successfully, but these errors were encountered:
zenden2k
changed the title
File path Encoding issue in GfxProcessor::readBitmap on Windows
File path encoding issue in GfxProcessor::readBitmap on Windows
Nov 17, 2018
I created a custom GFX processor class derived from MegaGfxProcessor.
MEGA SDK documentation doesn't mention this but
const char* path
parameter in functionMegaGfxProcessor::readBitmap
contains a pointer to UTF-16 encoded string (which is odd) on Windows.I cannot use this string as wide-char string because it is not null-terminated in UTF-16 sense (
it should contain two zero bytes at the end), so I cannot determine it's length.
The text was updated successfully, but these errors were encountered: