A common source of "NULL" strings are CSVs. I personally had to deal with a database that only understood NULLs correctly when using QUOTE_NOTNULL, which was added to Python just last year: https://github.com/python/cpython/issues/113732
I've also heard of a fun database where the user "Geoffrey" was truncated to "G". I wonder why? (Hint: End of file)