Ok I got this figued out.
The encoding files identify themselves in their header, and the name of the encoding in the header had better match the file name.
So, with a binary editor I edited the encoding name in the file from x-sjis-cp932 to shift_jis (you have to be careful not to change the file length, so you have to pad the encoding name with NUL characters, in vim that NUL can be entered with Ctrl-K N U.
That file is saved as shift_jis.enc, then my sample script runs fine. It wasn't anything to do with cygwin, hearty apologies for bad mouthing their fine dll.
A safer way to do this would be to remake the encoding files with the XML::Encoding package, but this works as a quick fix.
James
In reply to Re^2: XML::Parser Shift_JIS encoding
by zeimusu
in thread XML::Parser Shift_JIS encoding
by zeimusu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |