[EMAIL PROTECTED] wrote:
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 17, 2000 2:27 PM
> Subject: [REBOL] Is � a valid char for use in urls?
> 
> > I can read this file:
> >
> > read http://www.melbourne.net/antonr/resume.html
> >
> > but not this one:
> >
> > read http://www.melbourne.net/antonr/r�sum�.html
> > ** User Error: URL error: http://www.melbourne.net/antonr/r�sum�.html.
> > ** Where: read http://www.melbourne.net/antonr/r�sum�.html
> >
> > Both the files exist. You can browse to both of them.
> 
> Actually when I try to browse to
> 
> http://www.melbourne.net/antonr/r�sum�.html
> 
> I get a message
> 
> 404 Not Found
> The requested URL /antonr/résumé.html was not found on this server.

It loads fine for me using Netscape 4.72.

Using Rebol,

>> foo: open tcp://www.melbourne.net:80
>> insert foo reform ["GET" "/antonr/r�sum�.html" "HTTP/1.0^/^/"]
>> print copy foo
HTTP/1.0 200 OK
Date: Mon, 17 Jul 2000 05:18:17 GMT
Server: Apache/1.3.6 (Unix) PHP/3.0.7
Last-Modified: Fri, 07 Jan 2000 13:41:44 GMT
ETag: "30074-d89-3875ed18"
Accept-Ranges: none
Content-Length: 3465
Xonnection: close
Content-Type: text/html
X-Pad: avoid browser bug

<html>
<head>
<title>R�sum�</title>

<body bgcolor=#ffffff>
...

It may just be that a simple change to Rebol's URL parser is required
(assuming accented characters are legal in the http spec).

Julian Kinraid

Reply via email to