Re: Bug: extract_msgdata_part_by_coding / message split

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Kannel Software Foundation (KSF)
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paco wrote:

> Hello,
> 
> I'm testing the lastest cvs version, and it seems to be a problem with the
> encoding, I'm sending a http request with a message to the smsbox
> (users-sms), the message is in ISO-8859-1 with charset set, the smsbox
> parse
> it to utf-8 correctly, but then just when the smsbox is ready to send the
> message to the bearerbox, the message got truncated... (for messages with
> accents and special characters)
> 
> I'm browsing the code and it seems that there's a problem in
> extract_msgdata_part_by_coding, correct me if I'm wrong but that functions
> job is to extract the exact size of the message (since it will vary from
> utf-8 to gsm) and use it to split the message, it seems that the size
> before
> converting it from utf-8 to gsm is different than the size after the
> conversion from gsm to utf-8,  however I haven't test it much...

can you show us a sample of the bug, so we can reproduce?

Stipe

- -------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
- -------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGTZLo9ez0oeKvYs0RAtX6AJ91xBk6tfzJPcTBaie/GgVS//dBqQCePXDw
5meQLvmiJhWOxoeGbrL3ry0=
=cg26
-----END PGP SIGNATURE-----
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.