Re: Accents in URLs

2014-03-10 Thread Chris Young
On Mon, 10 Mar 2014 17:36:17 +, Rob Kendrick wrote:

> On Mon, Mar 10, 2014 at 05:10:23PM +, Tim Hill wrote:
> > 
> > Just came across this URL which opens in 'other' browsers but not in RISC
> > OS NetSurf here. Okay, I'll admit to using an old version (3.1 #1298)
> > but no doubt I'll be told if later versions do cope. ;-)
> > 
> > http://dahlström.net/svg/favicon/favicon.html
> 
> punycode.  And I don't think we support it, no. 

I've been having a look at this, largely for my own curiousity.
I've managed to add some sort of half-working punycode, but it has
raised a question:
Are nsurls supposed to be UTF-8?
I don't think they are, which means the urlencoding it does might not
necessarily be consistent.  Moreover, the scheme and host are getting
urlencoded when they shouldn't be (although this is easy to fix).

Chris



Re: Accents in URLs

2014-03-10 Thread Jeremy Nicoll - ml netsurf
Richard Porter  wrote:

>On 10 Mar 2014 Jeremy Nicoll - ml netsurf  wrote:
>
>> Tim Hill  wrote:
>
>>>
>>>Just came across this URL which opens in 'other' browsers but not in RISC
>>>OS NetSurf here. Okay, I'll admit to using an old version (3.1 #1298)
>>>but no doubt I'll be told if later versions do cope. ;-)
>>>
>>>http://dahlström.net/svg/favicon/favicon.html
>>>
>>>(which StronEd doesn't but Pluto translates to
>>>http://dahlstr%F6m.net/svg/favicon/favicon.html)
>
>> That looks right, but
>
>>>http://dahlström.net/svg/favicon/favicon.html
>>>and this
>>>http://dahlström.net/svg/favicon/favicon.html
>
> > those should not work; the "&xxx;" things are valid inside HTML whereas
> > inside a URL you need to follow the rules for encoding funny characters
> > in URLs, ie the %xx values.
>
> http://dahlstrom.net/ does resolve although the site doesn't work in
> NetSurf.

And?  First this seems to me to have no bearing on what I posted, so why
quote it?  ... and second the OP mentioned that the sites with and without
the accent are different sites so it's hardly a surprise that the unaccented
URL "does resolve".

-- 
Jeremy C B Nicoll - my opinions are my own.



Re: Accents in URLs

2014-03-10 Thread Richard Porter
On 10 Mar 2014 Jeremy Nicoll - ml netsurf  wrote:

> Tim Hill  wrote:

>>
>>Just came across this URL which opens in 'other' browsers but not in RISC
>>OS NetSurf here. Okay, I'll admit to using an old version (3.1 #1298)
>>but no doubt I'll be told if later versions do cope. ;-)
>>
>>http://dahlström.net/svg/favicon/favicon.html
>>
>>(which StronEd doesn't but Pluto translates to
>>http://dahlstr%F6m.net/svg/favicon/favicon.html)

> That looks right, but

>>http://dahlström.net/svg/favicon/favicon.html
>>and this
>>http://dahlström.net/svg/favicon/favicon.html

> those should not work; the "&xxx;" things are valid inside HTML whereas
> inside a URL you need to follow the rules for encoding funny characters in
> URLs, ie the %xx values.

http://dahlstrom.net/ does resolve although the site doesn't work in NetSurf.

-- 
Richard Porterhttp://www.minijem.plus.com/
Skype: minijem2   mailto:r...@minijem.plus.com
I don't want a "user experience" - I just want stuff that works.



Re: Accents in URLs

2014-03-10 Thread Rob Kendrick
On Mon, Mar 10, 2014 at 05:10:23PM +, Tim Hill wrote:
> 
> Just came across this URL which opens in 'other' browsers but not in RISC
> OS NetSurf here. Okay, I'll admit to using an old version (3.1 #1298)
> but no doubt I'll be told if later versions do cope. ;-)
> 
> http://dahlström.net/svg/favicon/favicon.html

punycode.  And I don't think we support it, no.  The site is actually
this:

http://xn--dahlstrm-t4a.net/svg/favicon/favicon.html

B.



Re: Accents in URLs

2014-03-10 Thread Jeremy Nicoll - ml netsurf
Tim Hill  wrote:

>
>Just came across this URL which opens in 'other' browsers but not in RISC
>OS NetSurf here. Okay, I'll admit to using an old version (3.1 #1298)
>but no doubt I'll be told if later versions do cope. ;-)
>
>http://dahlström.net/svg/favicon/favicon.html
>
>(which StronEd doesn't but Pluto translates to
>http://dahlstr%F6m.net/svg/favicon/favicon.html)

That looks right, but 

>http://dahlström.net/svg/favicon/favicon.html
>and this
>http://dahlström.net/svg/favicon/favicon.html

those should not work; the "&xxx;" things are valid inside HTML whereas
inside a URL you need to follow the rules for encoding funny characters in
URLs, ie the %xx values.

-- 
Jeremy C B Nicoll - my opinions are my own.



Re: Accents in URLs

2014-03-10 Thread Peter Young
On 10 Mar 2014  Tim Hill  wrote:


> Just came across this URL which opens in 'other' browsers but not in RISC
> OS NetSurf here. Okay, I'll admit to using an old version (3.1 #1298)
> but no doubt I'll be told if later versions do cope. ;-)

> http://dahlström.net/svg/favicon/favicon.html

No, it doesn't also work in the latest test build here.

Best wishes,

Peter.

-- 
Peter Young (zfc W) and family
Prestbury, Cheltenham, Glos. GL52, England
http://pnyoung.orpheusweb.co.uk
pnyo...@ormail.co.uk



Accents in URLs

2014-03-10 Thread Tim Hill

Just came across this URL which opens in 'other' browsers but not in RISC
OS NetSurf here. Okay, I'll admit to using an old version (3.1 #1298)
but no doubt I'll be told if later versions do cope. ;-)

http://dahlström.net/svg/favicon/favicon.html

(which StronEd doesn't but Pluto translates to
http://dahlstr%F6m.net/svg/favicon/favicon.html)

tried this

http://dahlström.net/svg/favicon/favicon.html

and this

http://dahlström.net/svg/favicon/favicon.html

Without the umlaut it is a different web site. Daft, eh?

http://dahlstrom.net/svg/favicon/favicon.html