Re: Bug in dir() leads to Unicode and win_dir()

new topic     » goto parent     » topic index » view thread      » older message » newer message

Greg Haberek wrote:
 
 > While working on my Backup Utility for work, I found a bug in
 > Euphoria's dir() routine. It does not support extended ASCII
 > characters and just returns a question mark '?' in place of
 > unknown characters.

What is this bug?

Euphoria's dir() works properly for me.
It returns the pure Russian characters from
the extended ASCII table, cp866.

Another thing, dir and file names are in OEM
encoding, not in ANSI, so I have to recode them from
OEM(cp866) into ANSI(cp1251), if I want see them,
say, in NotePad under pure Windows encoding.

But anyway it is just Windows feature, not dir() bug,
I think. Correct me please, if I'm wrong.

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu