-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Sábado 01 de Abril de 2006 16:29, Lennart Poettering escribió: [...] > The scheme you suggest isn't invertible. There needs to be a way to > detect whether a sanitized string has been escaped or not.
Don't worry about invertibility: Apple does not. I managed to get my hands over a iBook G4 today, and tried to set its hostname to "fóobar". Interestingly, the mDNS response has another charset, and it does not kill Avahi. Check the attachments at http://avahi.org/ticket/21 Seen that, I agree with the idea of "f*ck^H^H^H^Hignore devices with non-UTF8 hostnames". However, at some point, MacOS X converts "fóobar.local" into "f-obar.local". I'll post a screenshot of that ASAP. I wonder how Apple deals with name collisions... :-/ - -- - ---------------------------------- Iván Sánchez Ortega <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Un ordenador no es un televisor ni un microondas, es una herramienta compleja. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFENk2Y3jcQ2mg3Pc8RAnT6AJ9MxgJtGKCcO1dRykddIWXbHl4SuwCfWAwG U59+pP78WiXzTDrZmTVFBok= =v3B/ -----END PGP SIGNATURE----- _______________________________________________ avahi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/avahi
