On Sun, 22 Feb 2015, Mikhail Merkuryev wrote:

URIs (RFC3986) and HTTP 1.1 (RFC7320+) are all US-ASCII in effect. If you need to transfer anything else, you encode it in some way.

There ARE ways of encoding Unicode into US-ASCII, different for URLs and HTTP headers.

libcurl deals with URIs (RFC3986) although we call them URLs all over. URIs are not unicode at any point. Sure you can encode unicode like IRIs (RFC3987) and browsers do.

My point is that libcurl doesn't care and URIs are not unicode.

Similarly, HTTP headers are never unicode either and in fact most headers traditionally have problems with non US-ASCII like the authentication headers etc.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to