Antonio Scuri <antonio.sc...@gmail.com>于2018年9月10日周一 下午7:03写道:

>   Hi 云履,
>
>   In IUP, CD and IM we use fopen to read and write files most of the time,
> with a few exceptions when there is a native API that loads or saves the
> file for us.
>
>   IUP access files mainly for configuration files in LED, Lua or cfg
> (IupConfig).
>
>   CD writes metafiles, for instance.
>
>   IM loads and saves image files in several different formats using
> different APIs, but most of the time uses fopen too.
>
>   So, actually they all have the same problem.
>
>
Could you consider write a fopen wrapper (and use a macro define for
compatibility) for better unicode support ?

In windows, we can use _wfopen to solve encoding problems.
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to