Author Topic: Sending Danish letters "Æ, Ø, Å, æ, ø, å" does not work!!  (Read 861 times)


  • Newbie
  • *
  • Posts: 3
    • View Profile
Hi I am trying to send an SMS with the Danish letters ÆØÅ æøå in it. From debugging I can se that the generated PDU string do not contain any text when i use there letters.
This is the generated PDU string:

0031000A915XXXXXXXX0000AA00 (Mobile number is X'ed out)

void __fastcall TForm1::Button2Click(TObject *Sender)
 if (nrGsm1->Active)
   Button2->Enabled = false;
   nrGsm1->TimeOut = 1000 * 60;
   TnrPduSms *MySMS = new TnrPduSms(false);

   MySMS->Confirm = true;
   MySMS->DateTime = Now();
   MySMS->Text = EditMessage->Text;
   MySMS->Phone = EditReciever->Text;
   MySMS->Coding = pc7bit;
   String Result = nrGsm1->SmsSendWaitRefID(MySMS);
   Button2->Enabled = true;

The following is a PDU string from another message containing the text ÆØÅ æøå:

06915404967912040A9154XXXXXXXX000041309090637240079C8503D4613C00 (Mobile number is X'ed out)

Something stops your code from working with danish letters.

If I set coding to pc16bit I can send ÆØÅ æøå, but then the message length is no longer 160 signs.
I can send 160 signs in pc7bit containing ÆØÅ æøå from a normal mobile, so I would think this is also possible from your software.

Hope you can help me

Best regards
Carsten S. Riisbjerg