On Thu, Oct 2, 2008 at 12:52 PM, Petite Abeille
<[EMAIL PROTECTED]> wrote:

>> It depends on the Web server being able to handle it, but yes, you
>> can have non-ISO-8859-1 characters in a URL.
>
> Hmmm... are you sure? I thought one would need to encode anything but
> a small subset of US-ASCII:

As a simple test, I create a file called "Chrétien.txt" which I drop into
a Tomcat web server to view as "http://localhost/sample/Chrétien.txt";.

Firefox 2 turns this into: http://localhost/sample/Chr%C3%A9tien.txt
while Safari requests  http://localhost/sample/Chrétien.txt

But the main thing is that, regardless, the non-US-ASCII name is used
to match the resource in the file system.

-- 
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to