Skip to content

leodido/go-encodeuricomponent

Repository files navigation

go-encodeuricomponent

A library that replicates the behavior of the encodeURIComponent JavaScript function

Notice

The current implementation doesn't detect lead and trail surrogates.

The Javascript encodeURIComponent returns an error when one attempts to encode a lone low/high surrogate.

This library doesn't, at the moment. Supporting this feature is a very valuable way to start contributing!

Get to know more by reading the mdn web docs.