On Sat, 4 Dec 1999, Bart Lateur wrote: > I have experimented with the XML::Parser module today. Much to my > surprise, it looks like it does NOT support the Mac's native character > set. > [ SNIPPAGE ] > > - Provided I get the encoding table right, would there be any interest > in distributing it? Would there be any reason to maybe include them in > the XML::Parser package, possibly only the Mac version? > Getting this done with XML::Encoding would be excellent. I think once you've got the encoding done up that you should talk to Clark Cooper about it. Worst comes to worst it could be distributed as part of the MacOS binary for XML::Parser, and posibly also made available on the MacPerl Pages. > - What would be the proper name for the table? I'm thinking of > "Mac-Roman" for the Mac. > Adobe PDF refers to MacRoman. Why not here? :-) > - Most importantly: once in place, can I use these to decode XML files > into ordinary Mac text? What would be the module's syntax? Can I encode > XML files so that they're flagged as using Macintosh specific text, not > just ASCII? > Well, yes to the latter. Once you've got an encoding in place then the XML declaration looks something like <?xml version="1.0" encoding='EUC-KR'?> I think you should also look at the IANA (Internet Assigned Numbers Authority) website (whatever it is) to see what chaacter encodings are already registered with them as "charsets", so that you'll use the right name. It may already be there. I haven't dicked around with encodings very much at all, as there have been other aspects of things to keep me occupied. But it's starting to pop up as an issue here and there, and I want to bone up. I'll do some work on my own wrt this, and put myself in a position to backstop whatever you're doing. :-) Anyhow, all of this would be great, and I'll personally be really interested to see what you do. Regards, Arved ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-modules-request@macperl.org