Steve Hay wrote:
John E. Malmberg wrote:

And I am wondering if that instead of "tovmsspec()" and "tounixspec()", or vmsify() and unixify() it would be better to have generic macros or Perl routines of "to_hostspec()", "to_hostspec_short()", and "to_perlspec()".


Generic (not VMS specific) support for Unicode filenames is something that I've wanted previously on Win32, e.g. see the thread starting here:

http://www.nntp.perl.org/group/perl.unicode/2553

and especially:

http://www.nntp.perl.org/group/perl.unicode/2559

Yes, it seems that the major difference between what is needed for Win32 and what is needed for OpenVMS do is that OpenVMS needs the filenames converted from UTF-8 to host specific format and Win32 needs to use a different routine name call for the Unicode filename.

A bit of commonality is that both will effectively need wrappers around any C library routine that uses filenames. Currently vms.c already contains a few of these wrappers.

-John
[EMAIL PROTECTED]
Personal Opinion Only

Reply via email to