lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Sean Conner wrote:
[...]
>   In looking up wfopen() (never heard of it before), it appears that all it
> does is open the file up in binary mode.

I think wfopen() is just fopen() with a 'wide character' (UTF-16) filename.

I believe the Unix way to do this is to set the appropriate locale and
then pass in a UTF-8 filename to fopen().

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "I have always wished for my computer to be as easy to use as my
│ telephone; my wish has come true because I can no longer figure out
│ how to use my telephone." --- Bjarne Stroustrup

Attachment: signature.asc
Description: OpenPGP digital signature