We have a requirement to send multi lingual SMS to users mobile number.
We are using JavaMail API for this. The only changes we have done to send SMS (instead of EMAIL) using a standard JavaMail code are –
1) Use the suffix @sms after the mobile number. For eg: 919923456789@sms.<domain>.com.
2) Use “text/plain” instead of “text/html” while setting the content type.
The SMS is sent fine for English and French but we get junk characters for languages like Japanese and Russian even on phones which support these languages.
Could anyone please advice on the below points –
1) Is this a limitation with respect to JavaMail? If yes, is there any other api that can be used?
2) Does some setting needs to be done in the SMS gateway to enable sending SMS in Japanese and Russian?
3) Does some setting needs to be done in the mobile phone to receive SMS in Japanese and Russian?
No, I can't confirm that. As you know I didn't spend a lot of time on the research, and all I found was a page which seemed to mention UTF-16 as an after-thought. I'm sure that the SMS specification must have something in it which explains how to support non-Latin character sets, since (I assume) your Russian associates can send and receive Cyrillic texts? So I suggest you go and find the SMS spec.
I also have no experience with sending or receiving texts on phones configured in non-Latin scripts, but I suggest that you could do the experiment which answers your other questions quite easily.
It's also possible that the service which converts your e-mails to texts has some encoding requirement which you haven't asked them about.