From Kit.Peters at broadbean.com Wed Aug 17 21:53:31 2016 From: Kit.Peters at broadbean.com (Kit Peters) Date: Wed, 17 Aug 2016 21:53:31 +0000 Subject: [Xml-compile] Decoding XOP content? Message-ID: <6F7AE6A7-43AC-471C-B8C3-56379759766E@broadbean.com> Is there a quick and easy way to decode an XOP attachment? Basically I?d like the Unicode characters therein to come out as characters, not code points. KP -- Kit Peters Doer of Things, ATS Integrations [https://cb-design.s3.amazonaws.com/logos/broadbean/broadbean-withoutstrap-lime-rgb-signature.png] Broadbean 610 Newport Center Dr #1400, Newport Beach, CA 92660, United States D: +1 949 793 8208 M: +1 816 200 0279 broadbean.com | LinkedIn | Facebook | Twitter | Google+ | Blog -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at overmeer.net Wed Aug 17 22:15:00 2016 From: mark at overmeer.net (Mark Overmeer) Date: Thu, 18 Aug 2016 00:15:00 +0200 Subject: [Xml-compile] Decoding XOP content? In-Reply-To: <6F7AE6A7-43AC-471C-B8C3-56379759766E@broadbean.com> References: <6F7AE6A7-43AC-471C-B8C3-56379759766E@broadbean.com> Message-ID: <20160817221500.GA30978@moon.overmeer.net> * Kit Peters (Kit.Peters at broadbean.com) [160817 21:53]: > Is there a quick and easy way to decode an XOP attachment? Basically > I?d like the Unicode characters therein to come out as characters, > not code points. I am aware of other XOP users, but never got feedback how to improve the interface. Never used it myself, only implemented the basic features ;-) So: you may suggest improvements by showing real-life examples. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark at Overmeer.net solutions at overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net From Kit.Peters at broadbean.com Wed Aug 17 22:22:19 2016 From: Kit.Peters at broadbean.com (Kit Peters) Date: Wed, 17 Aug 2016 22:22:19 +0000 Subject: [Xml-compile] Decoding XOP content? In-Reply-To: <20160817221500.GA30978@moon.overmeer.net> References: <6F7AE6A7-43AC-471C-B8C3-56379759766E@broadbean.com> <20160817221500.GA30978@moon.overmeer.net> Message-ID: Similar behavior to HTTP::Request->decoded_content would be sufficient to my needs. So perhaps XML::Compile::XOP::Include->decoded_content ? Basically, instead of ?新規?, I?d like to see ????. KP -- Kit Peters Doer of Things, ATS Integrations D: +1 949 793 8208 M: +1 816 200 0279 On 8/17/16, 17:15, "Mark Overmeer" wrote: * Kit Peters (Kit.Peters at broadbean.com) [160817 21:53]: > Is there a quick and easy way to decode an XOP attachment? Basically > I?d like the Unicode characters therein to come out as characters, > not code points. I am aware of other XOP users, but never got feedback how to improve the interface. Never used it myself, only implemented the basic features ;-) So: you may suggest improvements by showing real-life examples. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark at Overmeer.net solutions at overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net From mark at overmeer.net Wed Aug 17 22:37:39 2016 From: mark at overmeer.net (Mark Overmeer) Date: Thu, 18 Aug 2016 00:37:39 +0200 Subject: [Xml-compile] Decoding XOP content? In-Reply-To: References: <6F7AE6A7-43AC-471C-B8C3-56379759766E@broadbean.com> <20160817221500.GA30978@moon.overmeer.net> Message-ID: <20160817223739.GB30978@moon.overmeer.net> * Kit Peters (Kit.Peters at broadbean.com) [160817 22:22]: > Similar behavior to HTTP::Request->decoded_content would be sufficient > to my needs. So perhaps XML::Compile::XOP::Include->decoded_content ? I cannot remember whether/how the XOP structure as information about its content. If there is a line which tell the charset, we should fix that. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark at Overmeer.net solutions at overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net From Kit.Peters at broadbean.com Wed Aug 17 22:41:43 2016 From: Kit.Peters at broadbean.com (Kit Peters) Date: Wed, 17 Aug 2016 22:41:43 +0000 Subject: [Xml-compile] Decoding XOP content? In-Reply-To: <20160817223739.GB30978@moon.overmeer.net> References: <6F7AE6A7-43AC-471C-B8C3-56379759766E@broadbean.com> <20160817221500.GA30978@moon.overmeer.net> , <20160817223739.GB30978@moon.overmeer.net> Message-ID: <59737356B7A42F12.35a68cea-4c4f-4364-b953-d01630973a4e@mail.outlook.com> I'll have a look and let you know. Get Outlook for Android On Wed, Aug 17, 2016 at 5:37 PM -0500, "Mark Overmeer" > wrote: * Kit Peters (Kit.Peters at broadbean.com) [160817 22:22]: > Similar behavior to HTTP::Request->decoded_content would be sufficient > to my needs. So perhaps XML::Compile::XOP::Include->decoded_content ? I cannot remember whether/how the XOP structure as information about its content. If there is a line which tell the charset, we should fix that. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark at Overmeer.net solutions at overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From Kit.Peters at broadbean.com Wed Aug 17 23:27:18 2016 From: Kit.Peters at broadbean.com (Kit Peters) Date: Wed, 17 Aug 2016 23:27:18 +0000 Subject: [Xml-compile] Decoding XOP content? In-Reply-To: <20160817223739.GB30978@moon.overmeer.net> References: <6F7AE6A7-43AC-471C-B8C3-56379759766E@broadbean.com> <20160817221500.GA30978@moon.overmeer.net> <20160817223739.GB30978@moon.overmeer.net> Message-ID: <599024CE-E2C2-47AB-BE05-59E12E183781@broadbean.com> XOP contains ?Content-Type? header. Example: BEGIN ------=_Part_1150_203811333.1471469593274 Content-Type: text/xml; charset=UTF-8 Content-Transfer-Encoding: binary Content-ID: <147146959327375771429562229 at http://www.w3.org/2001/XMLSchema> END -- Kit Peters Doer of Things, ATS Integrations D: +1 949 793 8208 M: +1 816 200 0279 On 8/17/16, 17:37, "Mark Overmeer" wrote: * Kit Peters (Kit.Peters at broadbean.com) [160817 22:22]: > Similar behavior to HTTP::Request->decoded_content would be sufficient > to my needs. So perhaps XML::Compile::XOP::Include->decoded_content ? I cannot remember whether/how the XOP structure as information about its content. If there is a line which tell the charset, we should fix that. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark at Overmeer.net solutions at overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net