[Telepathy] Review: telepathy-spec-stream

Dafydd Harries dafydd.harries at collabora.co.uk
Mon Jun 4 04:31:10 PDT 2007


Ar 04/06/2007 am 11:49, ysgrifennodd Simon McVittie:
> - - Non-abstract sockets are identified by arbitrary Unix paths. A Unix
>   path is defined as a byte-string, which need not be in any particular
>   character set, or even in a consistent character set - "/tmp/\xff\x99" is a
>   valid Unix path. D-Bus strings, on the other hand, are defined to be
>   sequences of nonzero Unicode characters, encoded in UTF-8. I don't
>   feel like defining a mapping from one to the other if we could just be
>   using a byte-array and avoiding the issue completely.

I think this part is not a problem: we can just require that your paths are
valid UTF-8. But unless we specify a way of indicating abstractness other than
having a null leading byte then we will need ay for addresses.

-- 
Dafydd


More information about the Telepathy mailing list