[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    [asterisk-dev] Re: Unicode in Text frames - how to fix?
From:       Benny Amorsen <benny+usenet () amorsen ! dk>
Date:       2007-04-30 21:11:16
Message-ID: m3y7k9d0uj.fsf () ursa ! amorsen ! dk
[Download RAW message or body]

>>>>> "TP" == Tim Panton <tim@mexuar.com> writes:

TP> So should we alter the IAX spec to specify the null byte is
TP> mandatory in a text frame and drop any that don't have '\0' as the
TP> last byte? I.e. enforce C's choices on IAX, but only in a single
TP> message type ???? Or should the IAX channel driver silently add a
TP> '\0' ?

If the text frame has a length associated with it, the most consistent
is to not send the 0, ever. Having two different ways to determine the
length only leads to bugs.

Of course there is the small matter of installed base to consider.


/Benny


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic