[Asterisk-Dev] IAX spec: Text formats and character sets

Michael Giagnocavo mgg-digium at atrevido.net
Fri Apr 29 10:32:55 MST 2005


>>> Well, what if you use wide chars? UTF-8 is great for a 
>>> common-denominator,
>>> on-the-wire format, but it's less than ideal for manipulation. With wide
>>> chars with you can use wcsncpy and the rest of the wc* functions. 
>>
>>
>> That is also a good point; when we are just storing/retrieving strings 
>> but not actually doing anything with them then UTF-8 is fine, but I've 
>> not yet seen string manipulation functions in glibc (or comparable) 
>> that supported UTF-8.
>
>Its not a good point at all. Its totally irrelevant. The topic was how 
>should the *wire* protocol be defined.

Sure, and I think that's agreed to be UTF-8 since that'll allow ASCII-only
clients to work o.k. in sending Asterisk data. Now people have been talking
about actually getting things implemented inside Asterisk.

-Michael





More information about the asterisk-dev mailing list