Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I represent extended characters in URIs (URNs/URLs)?

characters extended URIs URLs urns
0
Posted

How do I represent extended characters in URIs (URNs/URLs)?

0

[This section needs to be updated] URIs (Universal Resource Identifiers) can contain non-ASCII characters. The way considered the best to encode such URIs is the following: • Normalize the characters if needed. • Encode the string in UTF-8. • Replace each byte of the UTF-8 string that is greater than 127 (and any other byte that is considered unsafe as described in RFC 2396) by its escaped form %HH where HH is the hexadecimal value of the given byte.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.