You need to do this on your application level or you can modify kannel's source code to get this ability.
2014-11-10 18:28 GMT+03:00 Mi Ke <mi...@null.net>: > Dear All, > > I'm using kannel smsbox and http requests for message sending. When coding > is set to 2 and charset to UTF-8 I have all latin-based messages always > treated as Unicode which waste half of it's 160 characters length. My > question is: is there an elegant/easy way to save capacity for messages > without Unicode chars and set coding to 1 automatically for them or I > should detect charset myself and then set coding=2 if message contains > Unicode chars? > > I'll be greatly appreciated for your help. > > Thanks & regards > Mike > >