Re: walk_dir and Chinese filenames

new topic     » goto parent     » topic index » view thread      » older message » newer message
annoyed said...

What I really wrote for was to ask: what's being done about dir()s inability to properly read Chinese filenames? Where I work (as IT Dept. Manager) I get a mix of English and Chinese filenames and its simply not good enough when dir() store question marks for Chinese characters. For example there's file called "组合 1.pdf" (Portfolio 1.pdf). It gets stored as "?? 1.pdf".

Now it may have to do with the fact that dir() uses machine_func() rather than the Win32 API call. Maybe I should write my own version of std/filesys.e, replacing all the machine_func()s with API calls. Or maybe keeping the old stuff but putting in ifdefs to catch a windows compile.

wxEuphoria uses unicode. It wraps the wxDir object. It should also have no problem displaying the characters (assuming you use a font that supports those code points).

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu