I've seen people shit in the jungle because what you describe has only been the case near Bangkok and Chiang Mai for me.
Just because they smile when you ask a random restaurant for using the toilet does not actually mean they are happy when people do.