[gnome-bluetooth] [phone-manager] sending sms with special
letters in it + feature request
Edd Dumbill
edd at usefulinc.com
Wed Jun 23 10:47:45 BST 2004
On Wed, 2004-06-23 at 11:38 +0200, Henrik Persson wrote:
> On Wed, 2004-06-23 at 08:21, Edd Dumbill wrote:
> > I'm aware of this problem. I need to figure out if the phone can tell
> > me what encoding messages are arriving in. Otherwise we'll need a
> > manual setting so I can do the translation to and from unicode.
>
> Ah. Curious.. Does different phones use different encodings? Or well. If
> my phone is using iso-8859-1 folks from .jp would have a difficult time
> writing .jp-characters to it. Right.
>
> > A reasonable assumption for me might be to have iso-8859-1 as a default
> > for now, but I need to solve this problem properly.
>
> An alternative could be to have a few radioboxes with different
> charsets? Or at least ISO-8859-1{5,} and UTF-8. That way we could always
> choose. :)
The situation's a bit deeper than this. gsmlib is set up to interpret
the standard GSM 7 bit encoding from GSM 03.38 (see
http://www.dreamfabric.com/sms/default_alphabet.html).
It has tables to convert to Latin 1. However, these tables are a little
incomplete. I will report this as a bug to gsmlib, but for now there's
nothing I can really do about this. It doesn't appear to me that gsmlib
yet supports the UCS-16 encoding, so our non-Western friends are a bit
stuck for now :-(
I've just checked code into CVS to do the utf-8/latin-1 conversion, but
there are a few bugs with characters 16 through 27 in GSM 03.38. Most
materially at the moment, this appears to mean lower case c with cedilla
doesn't get through.
I'll be making a new release with this improvement in soon.
-- Edd
More information about the gnome-bluetooth
mailing list