OK I will try and explain. I qwas working at a customer who has code that uses send packet. This is really old code and I do not think they have ever used USE CHARACTER SET. We are upgrading to v16, so I tried filling a text variable and with the data and then doing a text top document. This di not work I then tried text to blob and then blob to document. This did not work. In both cases, I used UTF8 text without length which also did not work. Does this make ity clearer? Regards
Chuck On Tue, Oct 30, 2018 at 1:09 PM John DeSoi via 4D_Tech <4d_tech@lists.4d.com> wrote: > Not sure I'm following exactly what you are doing - difficult to know > without seeing the commands and parameters. TEXT TO BLOB and Blob to text > both allow you to specify the character set. > > If you are using SEND PACKET with a blob you created using TEXT TO BLOB, > there should be no problem converting it back via DOCUMENT TO BLOB and then > Blob to text. If you are using text with SEND PACKET, you have to be sure > to USE CHARACTER SET. > > John DeSoi, Ph.D. > > > > On Oct 30, 2018, at 11:46 AM, Charles Miller via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > Thanks I kind of figured that out, but when you got text to blob, you can > > not choose character set. According to docs. see below. How would one > > solved this problem. I wiuld guess continues to use send packet is omne > > solution. Are there others. > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** -- ----------------------------------------------------------------------------------------- Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064 Informed Solutions, Inc. Brookline, MA 02446 USA Registered 4D Developer Providers of 4D, Sybase & SQL Server connectivity http://www.informed-solutions.com ----------------------------------------------------------------------------------------- This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************