in reply to Japanese filenames and USING_WIDE in win32.h
The entire Win32 abstraction layer for perl is implemented in win32/Win32.c and win32/Win32io.c. Ideally you would put together a set of patches against those files that would allow a pragma to control the behaviour of widechars. For instance
use widechar;
would do the trick. The problem you are going to face is that there are only about three or four active Perl develops who are on Win32, and they are unlikely to undertake this stuff without help from an interested party who can do things like test. So for instance if I saw you post a set of patches aimed at this objective, but not quite polished enough to be applied Id probably run with the ball and help you get them bedded down. The fact that USING_WIDE was removed probably indicates that whomever was most knowledgable about the feature felt it was dangerous to leave it in. Which IMO suggests that there is an alternate approach that would be fine.
From what I can see, the best way to get your clients what they want to is to get it done in perl itself. Which means interacting with the perl5porters list. Then when 5.10 comes out (this Christmas hopefully) they can use the nice new shiny stuff that you helped put in it. :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Japanese filenames and USING_WIDE in win32.h
by almut (Canon) on Nov 15, 2006 at 14:49 UTC | |
by demerphq (Chancellor) on Nov 15, 2006 at 18:41 UTC | |
by almut (Canon) on Nov 15, 2006 at 23:18 UTC | |
by demerphq (Chancellor) on Nov 16, 2006 at 10:12 UTC |