It's a different set of characters I think.  Perhaps UriEncoding should use this, I'm actually using Scalas immutable BitSet here, which is why it's so easy to instantiate.