Actually the C standard library of all platforms, including Windows,
works just fine.
Indeed, the standard does not explicitly nor implicitly (i.e. by
providing a ,,shall'' or ,,shall not'' requirement) define that thing as
,,undefined behavior''.
I just want everything the C library returned in the string. And I did
not complain, I proposed working patches to do so.
The next time you parse a text file which accidental has a 0円 somewhere
you probably want this bug fix, too ;-) Especially after you spend hours
to figure out what is going on, …
Certainly, ,,... is '0円' aware'' sounds like Zeus' thunderbolt and makes
the world more beautiful. IMHO, at least, a documentation note should be
appended to a description of ,,io.lines'', ,,file:lines'', ,,file:read''
- it would have greatly shortened that figuring-out-time.