Let R be a compact surface and let Γ be a Jordan curve which separates R into two connected components Σ 1 and Σ 2. A harmonic function h 1 on Σ 1 of bounded Dirichlet norm has boundary values H in a certain conformally invariant non-tangential sense on Γ. We show that if Γ is a quasicircle, then there is a unique harmonic function h 2 of bounded Dirichlet norm on Σ 2 whose boundary values agree with those of h 1. Furthermore, the resulting map from the Dirichlet space of Σ 1 into Σ 2 is bounded with respect to the Dirichlet semi-norm.