[gnome-bluetooth] [phone-manager] sending sms with special
letters in it + feature request
Richard Torkar
richard.torkar at htu.se
Wed Jun 23 00:10:58 BST 2004
On Tue, 2004-06-22 at 23:15 +0200, Henrik Persson wrote:
> On Tue, 2004-06-22 at 20:43, Richard Torkar wrote:
> > On Tue, 2004-06-22 at 20:08 +0200, Kim Schulz wrote:
> > > hi,
> > > When I send an sms message with Danish letters (æ ø å) in it, then it
> > > shows as a weird character on the mobile that recieves the message.
> > > Is there a way to set this?
> >
> > Me too[tm]. Swedish letters though - å ä ö. ;)
>
> I'm seeing this too. I guess it's some encoding issue. Sent "åäö" to my
> phone and console said:
>
> ---------------------------------------------------------------------------
> Message type: SMS-DELIVER
> SC address: '46708000708'
> More messages to send: 1
> Reply path: 0
> User data header indicator: 0
> Status report indication: 0
> Originating address: '*bzz*'
> Protocol identifier: 0x0
> Data coding scheme: default alphabet
> SC timestamp: 06/22/04 23:08:53 (+0000)
> User data length: 3
> User data header: 0x
> User data: '\xc5\xe4\xf6'
> ---------------------------------------------------------------------------
>
> (gnome-phone-manager:10728): Gtk-CRITICAL **: file gtktextbuffer.c: line
> 557 (gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text,
> len, NULL)' failed
>
> ----
>
> So. Are messages sent in UTF-8 or ISO-8859-1? Maybe gnome-phone-manager
> needs some iconv:ing. With glib that's simple. :)
>
> I can try implementing it but I don't know jack about how smses and
> stuff works. Yet.
Probably a std::string <-> const gchar* thingy.
*shrug*
/Richard
--
More information about the gnome-bluetooth
mailing list