×

Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Registered User
    Join Date
    Dec 2011
    Posts
    3

    send an arabic sms via Qt.openUrlExternally ("sms:? body =" + arabic text)

    Hi,
    I tried to send an arabic sms via Qt.openUrlExternally ("sms:? body =" + arabicText), the mail box opens with a text whose characters are ilisible, the text in Arabic does not display.
    If you have an idea or solution to this problem please help me I will be very grateful.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: send an arabic sms via Qt.openUrlExternally ("sms:? body =" + arabic text)

    What excatly is being seen in the other end ? Could you also make an application which reads the message to see what kind of chanarcters would be in there?

    Note that normal SMS messages are sent with 7-bits-character encoding, and all characters which are not defined are changed to be question marks.

  3. #3
    Registered User
    Join Date
    Dec 2012
    Posts
    3

    Re: send an arabic sms via Qt.openUrlExternally ("sms:? body =" + arabic text)

    Hello khadijarss,

    If your arabic message is device generated, then it should not create any problem as it automatically saves UTF8 formated text in Qstring.

    If you are initiallizing that text by yourself, then please convert the text to ANSI format and then initialize the variable. It will work fine.

  4. #4
    Registered User
    Join Date
    Dec 2011
    Posts
    3

    Re: send an arabic sms via Qt.openUrlExternally ("sms:? body =" + arabic text)

    Hi,

    thank you very much for your response. i initialize the body of SMS in QML with the code bellow :
    Button {
    anchors.centerIn: parent
    text: qsTr("Arabic SMS!")
    font.pixelSize: 20
    onClicked: {
    var chaine="السلام"
    Qt.openUrlExternally("sms:?body="+chaine)
    }
    }

    Thanks in advance for your help

    Best regards

    Khadija

Similar Threads

  1. "This application is not from a trusted supplier. Send text message to . . ."
    By eesbee in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2009-07-21, 03:15
  2. Replies: 5
    Last Post: 2008-10-12, 09:10
  3. Replies: 3
    Last Post: 2007-10-06, 19:47
  4. How to modify the control pane label "OK" and "Cancel" of Text Setting item
    By misfit.physics in forum Symbian User Interface
    Replies: 5
    Last Post: 2007-02-27, 05:39
  5. send sms from a "TEXT" and not a "NUMBER"
    By cha0s4u in forum General Messaging
    Replies: 6
    Last Post: 2007-01-18, 04:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×