It means to "come into contact with" or for example if you say you encountered a big fight in the hall it would mean you ran into a big fight or witnessed it...does that help answer your question?
Encounter has more than one meaning depending on how you use it...It could mean to meet as an adversary or enemy,engage in conflict,or it could mean a chance meeting,like come upon un expectedly.....hope this helps