Re: Arrays and TextEncode/Decode

2015-10-16 Thread Bob Sneidar
Wouldn't hurt to textEncode/Decode. As long as you are writing our binary it shouldn't matter either way. Bob S On Oct 16, 2015, at 12:34 , Peter Haworth mailto:p...@lcsql.com>> wrote: Thanks for reminding me of the different arrayEncode methods in LC 7 and LC prior to 7. Fortunately, this co

Re: Arrays and TextEncode/Decode

2015-10-16 Thread Monte Goulding
> On 17 Oct 2015, at 6:34 am, Peter Haworth wrote: > > Normally, it > seems to be the rule that you should textEncode data when writing it out to > a file and textDecode it when reading it in from a file. Is that still the > case when the data is arrayEncoded? arrayEncode|Decode packs and unpa

Re: Arrays and TextEncode/Decode

2015-10-16 Thread Peter Haworth
Thanks for reminding me of the different arrayEncode methods in LC 7 and LC prior to 7. Fortunately, this code will only be executed in LC7+, actually only LC8+ so I'm OK with the array encoding. I'm just not sure about the Unicode aspects of this though. Normally, it seems to be the rule that yo

Re: Arrays and TextEncode/Decode

2015-10-16 Thread Monte Goulding
> On 17 Oct 2015, at 6:03 am, Peter Haworth wrote: > > I have an array that can contain Unicode characters in either it's keys or > key values. I arrayEncode the array and write out to a file. > > Should I textEncode the keys/values before arrayEncoding the array and then > textDecode the keys/

Arrays and TextEncode/Decode

2015-10-16 Thread Peter Haworth
I have an array that can contain Unicode characters in either it's keys or key values. I arrayEncode the array and write out to a file. Should I textEncode the keys/values before arrayEncoding the array and then textDecode the keys/values when reading it back in and arrayDecoding it? Pete lcSQL S