Re: Character set

Benjamin Lee <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Gosh, of course! I guess all the SMSCs I've used must have implemented the
DCS value correctly... so everything works...

On Tuesday, 2003-07-15 at 01:19:36 AM, Andreas Fink scribbled:
>  
> On Montag, Juli 14, 2003, at 05:18  Uhr, Michael Mulcahy wrote: 
> 
> 
> > Hi All, 
> > 
> > In a similar problem to Davids (below), we are doing a test to an 
> > SMPP  
> > SMSC and they are sending back message text encoded as 7 bit packed 
> > GSM  
> > alphabet. 
> > 
> > Even though the SMPP driver calls: 
> > charset_gsm_to_latin1(msg->sms.msgdata);  
> > 
> > this does not convert 7 bit packed GSM data to latin 1, it only  
> > converts 8 bit packed GSM data. Should this function unpack 7 bit 
> > data or 
> > is it presumed that will always only get 8 bit GSM encoded 
> > characters? 
> > 
>  
> gsm_to_latin1 is converting the charsets only 
> there's an additional call before which does the 7 to 8 bit conversion. 
> This is dependent on the DCS value. 
> If the DCS value says its 8 bit packed data, it wont do the 7 to 8 bit 
> conversion of course. 
> 
> >  
> > 
> Andreas Fink 
> Global Networks Switzerland AG 
> 
> ------------------------------------------------------------------ 
> Tel: +41-61-6666333  Fax: +41-61-6666334   Mobile: +41-79-2457333 
> Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland 
> Web: http://www.global-networks.ch/      [email protected] 
> ------------------------------------------------------------------ 
>  
> 
> 

-- 
Benjamin Lee
Melbourne, Australia         "Always real."    http://www.realthought.net/

__________________________________________________________________________
Feeling amorous, she looked under the sheets and cried, "Oh, no,
it's Microsoft!"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.