Author Topic: how to send chinese character ?  (Read 1326 times)

cptang

  • Newbie
  • *
  • Posts: 9
    • View Profile
how to send chinese character ?
« on: January 06, 2012, 02:52:57 pm »
i use this components to send chinese character,but i don't receive it!
why?

send english and number character is ok!



Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: how to send chinese character ?
« Reply #1 on: January 06, 2012, 03:06:28 pm »
Hello

I'm sorry but I do not understand. Do you ask about SMS sending?

Please clarify more details:

Where you do not receive chinese chars? Do you receive by GSMDemo? Or do you receive SMS on your mobile device?
Did you try to select UNICODE (16bit encoding) before send SMS from GSMDemo? Last version of GSMDemo allows choose form of coding.

Please post here LOG file of GSMDemo session (with diagnostic, sending and receiving sms).

If you ask about serial port transfer, chars are sending as 8 bit bytes, therefore UNICODE chars can be corrupted.
You can convert UNICODE string into byte array and use TnrComm.SendData method for transfer.

Roman Novgorodov
DeepSoftware LLC
« Last Edit: January 06, 2012, 04:16:53 pm by Roman Novgorodov »
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

cptang

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: how to send chinese character ?
« Reply #2 on: January 07, 2012, 01:40:32 am »
thank you very much!
i ask about serial port transfer。
i convert UNICODE string into byte array and use TnrComm.SendData method for transfer.
it is ok!

thank you!


Hello

I'm sorry but I do not understand. Do you ask about SMS sending?

Please clarify more details:

Where you do not receive chinese chars? Do you receive by GSMDemo? Or do you receive SMS on your mobile device?
Did you try to select UNICODE (16bit encoding) before send SMS from GSMDemo? Last version of GSMDemo allows choose form of coding.

Please post here LOG file of GSMDemo session (with diagnostic, sending and receiving sms).

If you ask about serial port transfer, chars are sending as 8 bit bytes, therefore UNICODE chars can be corrupted.
You can convert UNICODE string into byte array and use TnrComm.SendData method for transfer.

Roman Novgorodov
DeepSoftware LLC