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

Kevin P. Fleming kpfleming at digium.com
Fri Apr 29 09:14:49 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.



More information about the asterisk-dev mailing list