×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    19

    Question How to send chinese sms via socket

    I tried codes below, but it does not work.
    Does anybody know how?

    CSmsBuffer* smsBuffer = CSmsBuffer::NewL();
    //CleanupStack::PushL(smsBuffer) is NOT used because CSmsMessage takes ownership of our buffer :-)
    CSmsMessage* smsMsg = CSmsMessage::NewL(iFs, CSmsPDU::ESmsSubmit, smsBuffer);
    CleanupStack::PushL(smsMsg);

    smsMsg->SmsPDU().SetAlphabet(TSmsDataCodingScheme::ESmsAlphabetUCS2);

    TSmsUserDataSettings smsSettings;
    // smsSettings.SetAlphabet(TSmsDataCodingScheme::ESmsAlphabet7Bit);
    smsSettings.SetAlphabet(TSmsDataCodingScheme::ESmsAlphabetUCS2);
    smsSettings.SetTextCompressed(EFalse);
    smsMsg->SetUserDataSettingsL(smsSettings);

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: How to send chinese sms via socket

    And what does "does not work" mean, exactly?

    What did you expect to happen? What did really happen (i.e., how was it different from what you expected to happen)?

    Where does the text to be sent originate from? Did the user enter it (type it in)? Did you read it from a file? Did you get it from somewhere else? What is the encoding of the data?

  3. #3
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: How to send chinese sms via socket

    Have you tried for sending SMS in english?? If yes then is it workig fine??

  4. #4
    Registered User
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048

    Re: How to send chinese sms via socket

    have you connected socket? have you encoded data?

Similar Threads

  1. Need a PHP/HTML script which integrates with SDK and send sms
    By ramanladhani in forum Tools and SDK Feedback (Closed)
    Replies: 2
    Last Post: 2007-01-14, 10:56
  2. Replies: 3
    Last Post: 2005-07-22, 02:35
  3. chinese sms send solution!
    By serverclient2004 in forum General Messaging
    Replies: 0
    Last Post: 2005-06-03, 06:36
  4. Can D211 send SMS in chinese character
    By jhwong in forum Multimodecards
    Replies: 1
    Last Post: 2003-07-01, 12:56
  5. Replies: 1
    Last Post: 2002-07-23, 14:39

Posting Permissions

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