[Standards] Proposed XMPP Extension: Stanza Size Limits

Chris Mullins chris.mullins at coversant.net
Thu Aug 2 21:10:46 UTC 2007


I lean pretty hard towards bytes, as the definition of a UTF-8 character
gets very fuzzy. 

With up to 4 bytes per character, it's quite a crapshoot what exactly
"1024 characters" means in terms of memory, storage, and bandwidth. 

--
Chris Mullins

-----Original Message-----
From: standards-bounces at xmpp.org [mailto:standards-bounces at xmpp.org] On
Behalf Of Peter Saint-Andre
Sent: Thursday, August 02, 2007 2:07 PM
To: Michal 'vorner' Vaner; XMPP Extension Discussion List
Subject: Re: [Standards] Proposed XMPP Extension: Stanza Size Limits

Michal 'vorner' Vaner wrote:
> Hello
> 
> Bytes? Not characters? It is easy to count the characters for a client
> when sending, but - bytes after conversion is harder. And, is it bytes
> compressed/encrypted or inside the stream? Couldn't this be clarified
> (actually, I guess there is on other XEP speaking about size of
stanza).

I don't have a strong preference between bytes and characters here,
whatever is easier for server developers to count (which is probably
characters). So I'll defer to the server devs on this point.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/




More information about the Standards mailing list