Fixed path encode for unicode chars