in reply to Re^7: Writing UTF8 Filename (Win32)
in thread Writing UTF8 Filename
Please put your complex plan into a module and not into Perl itself.
The problem with ANY win32-only code, or any-platform-only code, is that you put the burden of writing portable applications on the programmer. Hence, some abstraction would be nice.
The abstraction is that file names/paths that are Unicode (UTF-8) strings in Perl should be supported. That'll also be the abstraction that gets supported at the low level when Unix catches up to Win32, surely. That's the only abstraction that makes much sense. Sure, in the short term, there will be awkward steps to try to bridge between 8-bit chars and Unicode, but those are going to be awkard and non-portable and best kept out of the way of those who don't get stuck having to use them.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Writing UTF8 Filename (Win32)
by Juerd (Abbot) on Nov 18, 2007 at 19:48 UTC |