Send Unicode by WINHTTP

Send Unicode by WINHTTP SearchSearch
Author Message
Andrew
New member
Username: Andrewtan

Post Number: 1
Registered: 07-2004
Posted on Monday, July 19, 2004 - 10:18 pm:   

I have sent text message by using WinHttp method without any problem, but when comes to Unicode, the receipient received funny characters.

I have tried &charset=utf-8 , but it still can't work properly.

Please help, thanks.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3106
Registered: 10-2002
Posted on Wednesday, July 21, 2004 - 07:59 pm:   

Hi Andrew,

How are you encoding the characters when you submit them? Are you using UTF-8? ("utf-8" is our default for that "charset=" parameter)

Maybe it would help to see an SMSDEBUG.LOG, so that I could see what the HTTP request is that is coming in to NowSMS?

And then you could explain what characters you are including in the request.

To enable the debug log, manually edit SMSGW.INI, and under the [SMSGW] section header, add Debug=Yes. Then restart the NowSMS service.

As NowSMS runs, it will log information to a file named SMSDEBUG.LOG. When you submit your request to NowSMS, I'm curious to see what the SMSDEBUG.LOG shows for the format of that request.

-bn