Most of the people responding here seem to be talking about soi dogs, that is to say, they live in cities. Running around just about every possible and impossible trail around our village in Isaan, I only once got bitten, by a dog I thought I knew well enough to trust but had just had some whelps and so got very aggressive. Most dogs will bark and snarl before actually attacking, this one quietly ran up behind me and gave me a nip. I'm afraid that dog had disappeared the next day as I did complain.
I tend to plan my running routes in terms of 1: dogs? and 2: possibility of finding sticks lying around near them?
I found a new route near me. First time: aggression from two farm dogs. I shouted, they removed themselves.(Never see Farang running) Second time, with stick, less aggro. Third time: one dog came up and ended up letting me stroke him. Most rewarding. Don't get me wrong, I do get to shout on most runs, and it usually works.
I'm going to take the same trail tomorrow, but will have a discrete whacking stick about my person, plus some dog biscuits.