Re: text characters in blob or text to document

2018-10-30 Thread John DeSoi via 4D_Tech
> On Oct 30, 2018, at 2:24 PM, Charles Miller via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > 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. So that is likely gener

Re: text characters in blob or text to document

2018-10-30 Thread Charles Miller via 4D_Tech
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

Re: text characters in blob or text to document

2018-10-30 Thread John DeSoi via 4D_Tech
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 conver

Re: text characters in blob or text to document

2018-10-30 Thread Charles Miller via 4D_Tech
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. Regards Chuck Text without length The text is compos

Re: text characters in blob or text to document

2018-10-30 Thread John DeSoi via 4D_Tech
The problem is likely with TEXT TO DOCUMENT/Document to text. These have strange defaults, so you have to be very careful about the parameters. TEXT TO DOCUMENT defaults to UTF-8 and inserts a BOM (which I think is a bug). So you can't read it using DOCUMENT TO BLOB and covert to UTF-8 text with

text characters in blob or text to document

2018-10-30 Thread Charles Miller via 4D_Tech
Hi All, Environment v16 on Mac I have created document with bullets in text of output. When I use send packet the result is as expected. When I use text to blob with utf 8 conversion and then blob to document or text to document the bullets get converted to strange looking question marks. Any idea