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

Steve Underwood steveu at coppice.org
Fri Apr 29 11:01:38 MST 2005


Michael Giagnocavo wrote:

>>>>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.
>  
>
Agreed? By who? A few hours ago people were still posting stuff about 
ISO8859-1 being in current use. :-\

Regards,
Steve




More information about the asterisk-dev mailing list