No, I really don't think the None constant was the problem. I bet it has to do with those special characters in your data. I don't have any data like that to test, but I do have data with <<Null>> values and it worked fine for that. My guess is that the special chars in the the strings were stymieing the len function.
Basically, you're just testing if the string is empty or null. So it could be done as:
if a! = '' and a =! None: