Axel Richter: Zeichencode Wirrwarr Perl

Beitrag lesen

Hallo,

Es gibt eine neue Form der URI, die IRI http://www.faqs.org/rfcs/rfc3987.html
Für IRIs wird, laut RFC, UTF-8 als Codierung empfohlen. Somit hätte der IE hier ausnahmsweise mal Recht.

Ähm. Wenn ich das richtig verstanden habe, muss ich mich hier korrigieren.
Aus RFC3987:
   a.  A protocol or format element should be explicitly designated to
       be able to carry IRIs.  The intent is not to introduce IRIs into
       contexts that are not defined to accept them.  For example, XML
       schema [XMLSchema] has an explicit type "anyURI" that includes
       IRIs and IRI references. Therefore, IRIs and IRI references can
       be in attributes and elements of type "anyURI".  On the other
       hand, in the HTTP protocol [RFC2616], the Request URI is defined
       as a URI, which means that direct use of IRIs is not allowed in
       HTTP requests.

Natürlich hat im Kontext HTTP der Mozilla Recht, wenn er bei "umläuten" im URI-Path in "uml%E4uten" encodiert.

viele Grüße

Axel