String length on server vs device

I sqlexport an sql object and I send that string to my server. I used to compare the length of the string exported with the length of the string echoed back from my php script. It worked well for years but just the last few days the echo strlen($text) in my php is a few character shy of the len(exporttext). Is there an explanation for this?

This reminds me if i copy 2 files from a folder to a thumb drive.it says 3 files was copied.

@tst, I don’t see how this is related to the original question.

@lotsofcows : Have you tried comparing the two strings in a text editor?