Re: Question about GGEP

[email protected]
Newsgroups gmane.network.gnutella.devel
Organization Home, Grenoble, France
Message-ID <[email protected]>
Hello David,

Welcome to Gnutella.

Quoting david_chen100 <[email protected]> from ml.gnutella.dev-forum:
:The GGEP Specification does not say anything about about the format of
:the GGEP Extension Data.  I understand this to mean that the GGEP
:values are arbitrary raw bytes, whose interpretation is left to the
:writers and readers of the particular GGEP key.
:
:Is this an accurate statement?

Indeed, it is.

:If this is true, then what do we do about universally recognized GGEP
:keys (GGEPs which are used by almost all servents) which are encoded
:as Strings?  Is there a default (implied, standard) encoding (such as
:UTF-8) that is used?

It is the duty of each "key author" to document the format of the values,
as stated above.  If the value is a string, then it must be understood as
UTF-8 unless specified otherwise.  It does not make any sense to use
a proprietary or legacy charset nowadays for inter-system communications.

Cheers,
Raphael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.