Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 594 Bytes

File metadata and controls

13 lines (7 loc) · 594 Bytes

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.