GPUJPEG
GPUJPEG copied to clipboard
Special Characters in File Paths
Hello,
I'm currently using the gpujpeg_image_load_from_file
function to open images in a C++ project. However, I've encountered an issue when trying to open files that have special characters in their names, such as (((φ(◎ロ◎;)φ))).jpg
.
It seems that the function uses char*
for the file path parameter and relies on fopen
internally, which does not handle file paths with special characters as I wish.
Is there another way to open this file, or would it be possible to update the gpujpeg_image_load_from_file
function to handle file paths with special characters? (Maybe by using wide-character strings (wchar_t*) and _wfopen
on Windows)
Regards, Adrien