boten Active Member Licensed User Longtime User Jun 25, 2014 #1 I'm trying to send sms msgs that contain Hebrew text and a link. When the link is long and contains directory name the msg just won't be sent (even when using SendLargeSms,tho the msg is shorter than 160 chars.) my sms text look something like: <some hebrew text> http://somesitename.com/somedirectory/somefilename.html Any Hebrew users encountered this kind of behaviour?
I'm trying to send sms msgs that contain Hebrew text and a link. When the link is long and contains directory name the msg just won't be sent (even when using SendLargeSms,tho the msg is shorter than 160 chars.) my sms text look something like: <some hebrew text> http://somesitename.com/somedirectory/somefilename.html Any Hebrew users encountered this kind of behaviour?
Erel B4X founder Staff member Licensed User Longtime User Jun 25, 2014 #2 The limit of non-English messages is about 60 or 70 characters. Though SendLargeSms should handle it correctly. Does it work if the msg includes text other than a link? Upvote 0
The limit of non-English messages is about 60 or 70 characters. Though SendLargeSms should handle it correctly. Does it work if the msg includes text other than a link?
boten Active Member Licensed User Longtime User Jun 25, 2014 #3 long english msg + link works long hebrew msg (no link) works with SendLargeSms long hebrew msg + link does NOT work, even with SendLargeSms I attach a sample project. Change the phone number in Sub btn_Click (about line #60) Attachments asms.zip asms.zip 6.5 KB · Views: 228 Upvote 0
long english msg + link works long hebrew msg (no link) works with SendLargeSms long hebrew msg + link does NOT work, even with SendLargeSms I attach a sample project. Change the phone number in Sub btn_Click (about line #60)
Erel B4X founder Staff member Licensed User Longtime User Jun 25, 2014 #4 You can try to encode the link with StringUtils. Upvote 0
boten Active Member Licensed User Longtime User Jun 26, 2014 #5 Tried: Code: Copy url="http://www.somewhereover.com/therainbow/figsfly.html" Dim su As StringUtils enc="UTF8" urle = su.EncodeUrl(url, enc) the hebrew+link was NOT sent english + link was sent but the link was: http%3A%2F%2Fwww.somewhereover.com%2Ftherainbow%2Ffigsfly.html which came out even worse in SMS (not entirely as link) same result when encoding with ISO-8859-8 and with windows-1255 Last edited: Jun 26, 2014 Upvote 0
Tried: Code: Copy url="http://www.somewhereover.com/therainbow/figsfly.html" Dim su As StringUtils enc="UTF8" urle = su.EncodeUrl(url, enc) the hebrew+link was NOT sent english + link was sent but the link was: http%3A%2F%2Fwww.somewhereover.com%2Ftherainbow%2Ffigsfly.html which came out even worse in SMS (not entirely as link) same result when encoding with ISO-8859-8 and with windows-1255
boten Active Member Licensed User Longtime User Jun 29, 2014 #6 So far the only solution is sending 2 sms msgs. 1st with the hebrew text, 2nd with the link. Not beautiful but unless this issue is solved - this will have to do for now Upvote 0
So far the only solution is sending 2 sms msgs. 1st with the hebrew text, 2nd with the link. Not beautiful but unless this issue is solved - this will have to do for now
boten Active Member Licensed User Longtime User Jul 7, 2014 #7 Can any hebrew user test my sample project (asms) and verify this problem, hopefully suggesting a solution Upvote 0
Can any hebrew user test my sample project (asms) and verify this problem, hopefully suggesting a solution