Demo:
p=require'iuplua'
im=require'imlua'--true
pli=require'iupluaim'--true
ihandle=p.LoadImage[[C:\Path Or Name Contains Chinese (multi-bytes characters)
like ????.png]]--Failed.
--ihandle=p.LoadImage[[C:\Normal File Path And Name.png]]--OK.
if not ihandle then
print(p.GetGlobal'IUPIM_LASTERROR')--'Error Opening Image File.'
end
Not sure if it is related to IUP or IM.
Is there any conversion function can work, from file name and path where better
to keep its original names which isn't pure English character.
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users