[asterisk-dev] Re: Unicode in Text frames - how to fix?

Benny Amorsen benny+usenet at amorsen.dk
Mon Apr 30 08:34:24 MST 2007


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

TP> Asterisk's handling of text frames does not support unicode. We
TP> discovered this by accident, our Java IAX stack sends IAX text
TP> frames in unicode (ascii is deprecated in Java) without a
TP> terminating '\0' byte.

Which Unicode? Just do UTF-8 and add the null byte.

The fact that Java in its broken way decided on the worst possible
encoding of all, UTF-16, shouldn't make us break IAX.


/Benny




More information about the asterisk-dev mailing list