Links| Forums| Comments| Report news
Chat| Polls| Newsticker| Archive

[Login] [Register] [Forgot your password??]

< Next messagePrior message >
Cyborg (ANF)

Patch: domains with special characters on Amiga
Cyborg wrote: Hi, on the FTP server of there's a TCP/IP patch (8 KB) for alle TCP/IP stacks for the Amiga. The patch has been tested with Miami on a 68040 Amiga under AmigaOS 3.1.

The patch allows all programs to use ISO strings, for example "sfbü", without having to convert them into the IDN spelling "".

> ping sfbü
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=54 time=59.093 ms
64 bytes from icmp_seq=1 ttl=54 time=57.98 ms
64 bytes from icmp_seq=2 ttl=54 time=56.614 ms

--- ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 56.614/57.895/59.093 ms

As you can see does the miamiping even recognize the "xn--" spelling and shows it without the program ever get to know this at all! It is really unpatched!

Unfortunately this doesn't work with web browsers as it should but this is because of the browsers and not because of the patch (the reason is described in the readme file).

In short: AWeb for example does show the IDN spelling but uses the ISO way with the vhost. This does the Apache-WebServer not know and the page can't be found. For sfbü I have made this possible.

Therefore here's a call to the IBrowse & AWeb teams to adapt their routines. The ping shows that it's possible (how is written again in the readme file).

YAM and SimpleMail have the same problem on another level but that could be solved the same way.

To make the thing with IDN easier in the future I'll soon make an IDN library available for converting.

The patch archive contains an IDNA converter ISO->PUNYCODE. This way you can provide the browser with the correct name in the meantime.

> netstat
Active Internet connections
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 12 amiga.1026 xn--sfbcher-p2a..ftp ESTABLISHED
tcp 0 0 amiga.1025 ESTABLISHED
udp 0 0 amiga.netbios- *.*
udp 0 0 amiga.netbios- *.* (snx) (Translation: wk)

[News message: 06. Mar. 2004, 21:00] [Comments: 0]
[Send via e-mail]  [Print version]  [ASCII version]
< Next messagePrior message >

Masthead | Privacy policy | Netiquette | Advertising | Contact
Copyright © 1997-2019 by - all rights reserved.