I refer to the base64 encode function like seen here
It might sound stupid but which characters does this use??
I know letter, digits and 've seen also the equal-sign (=). But i search for a 100% definition.
I need this because i use a base_64 encoded string in supposed-to-be valid html as an attribute and want to avoid conflicts.
The default character set of the Base 64 encoding is A
–Z
(0–25), a
–z
(26–51), 0
–9
(52–61), +
(62), and /
(63). The =
is used as padding character to fill the value up to a length of a multiple of 24 bits.
There are also alternative character sets like one that is safe to be used in URLs. But you could also use any other character set.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With