On Wed, Jun 21, 2006 at 01:44:54PM -0400, Norman Ramsey wrote: > > On Tue, Jun 20, 2006 at 04:37:55PM -0400, Norman Ramsey wrote: > > > Package: avahi-discover > > > Version: 0.6.10-1 > > > Severity: important > > > > > > I tried to run avahi-discover to find services on my new Mac OSX Tiger > > > box. Unfortunately, the Mac seems to use unhappy Unicode characters in > > > the description of services, resulting in these error messages (and the > > > services not being seen). > > > > > > A suggested fix would be to catch the exception and display raw UTF-8. > > > > > > : [EMAIL PROTECTED] 10148 ; avahi-discover A new main_window has been > > > created Browsing domain 'local' on -1.-1 ... Browsing for services of > > > type '_sftp-ssh._tcp' in domain 'local' on 2.0 ... Browsing for > > > services of type '_ssh._tcp' in domain 'local' on 2.0 ... Browsing for > > > services of type '_workstation._tcp' in domain 'local' on 2.0 ... > > > Exception exceptions.UnicodeEncodeError: <exceptions.UnicodeEncodeError > > > instance at 0xb70189cc> in > > > 'dbus_bindings._GIL_safe_cmessage_function_handler' ignored Exception > > > exceptions.UnicodeEncodeError: <exceptions.UnicodeEncodeError instance > > > at 0xb70186ec> in 'dbus_bindings._GIL_safe_cmessage_function_handler' > > > ignored Exception exceptions.UnicodeEncodeError: > > > <exceptions.UnicodeEncodeError instance at 0xb701862c> in > > > 'dbus_bindings._GIL_safe_cmessage_function_handler' ignored Found > > > service 'curlycoat [00:13:d4:7e:fe:5b]' of type '_workstation._tcp' in > > > domain 'local' on 2.0. : [EMAIL PROTECTED] 10157 ; > > > > Just talked to avahi upstream. The last avahi does validate if services are > > valid UTF-8 (and dbus will kick you of the bus if it isn't anyway). So the > > data avahi-discovery gets should be valid UTF-8.. > > According to xterm -u8, what I'm getting *is* valid UTF-8. > > > It would be interesting to see which service name causes this. Could you > > send the output of avahi-browse -a?
Thanks, the strange char seems to be U+2019 aka ' (or a special variant or it, dunno). I can now successfully reproduce it here :). I'll look futher into this later this week. Sjoerd PS: please keep the bts in the CC, so others can follow progress too -- 10.0 times 0.1 is hardly ever 1.0. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]