If a character shows up to an encounter late, simply roll an Initiative check for that character (as above) the same as for the others, and insert them into the Initiative order based on their roll.