Re: Extra characters

2018-07-03 Thread Robert McKeever via 4D_Tech
Thanks, John. > On Jul 3, 2018, at 8:48 PM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > The extra characters are the Byte Order Mark (BOM) - see the documentation. A > BOM is useless with UTF-8, but there is no way to prevent 4D from inserting > it whe

Re: Extra characters

2018-07-03 Thread John DeSoi via 4D_Tech
The extra characters are the Byte Order Mark (BOM) - see the documentation. A BOM is useless with UTF-8, but there is no way to prevent 4D from inserting it when using TEXT TO DOCUMENT. I use this method instead: C_TEXT($1;$2) C_BLOB($blob) TEXT TO BLOB($1;$blob;UTF8 text without length

Extra characters

2018-07-03 Thread Robert McKeever via 4D_Tech
4D V15, on a Mac. Once this works, the PC version is next. I have nine text files that contain java scripts. They contain the users password (not my idea). The health authority has decided that each site (maybe 45+ users) must change their passwords. So, I did the following: $MyRawDoc:=Document