:relfileprefix: ../../
[#boost-urls-encoding_opts]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::encoding_opts


Percent-encoding options


=== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/encoding_opts.hpp#L31[boost/url/encoding_opts.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
struct encoding_opts;
----

===  Member Functions
[cols=2,separator=¦]
|===
¦Name ¦Description
¦xref:boost/urls/encoding_opts/2constructor.adoc[`encoding_opts`] [.small]#[constructor]# ¦

|===
===  Data Members
[cols=2,separator=¦]
|===
¦Name ¦Description
¦xref:boost/urls/encoding_opts/disallow_null.adoc[`disallow_null`]  ¦

True if nulls are not allowed

¦xref:boost/urls/encoding_opts/lower_case.adoc[`lower_case`]  ¦

True if hexadecimal digits are emitted as lower case

¦xref:boost/urls/encoding_opts/space_as_plus.adoc[`space_as_plus`]  ¦

True if spaces encode to and from plus signs

|===

=== Description


These options are used to customize
the behavior of algorithms which use
percent escapes, such as encoding
or decoding.



=== See Also


xref:boost/urls/encode-04.adoc[encode]
,
xref:boost/urls/encoded_size.adoc[encoded_size]
,
xref:boost/urls/pct_string_view.adoc[pct_string_view]
.



