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

Kevin P. Fleming kpfleming at digium.com
Fri Apr 29 09:16:15 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 also opens another can of worms, as they say...

When we are splitting a string on '@', for example, there may be 
multiple perfectly valid UTF-8 representations of that glyph, so we have 
to determine which ones we consider to be acceptable, if not all of them.



More information about the asterisk-dev mailing list