More encoding and escaping shenanigans
Merge pull request #112 from LandRegistry/encoding-and-escaping-sfe

More encoding and escaping shenanigans