path segments encoding, at method on HPath