-
Notifications
You must be signed in to change notification settings - Fork 215
Issue with encoding of Unicode characters #1903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@scottbarstow @deruelle
But I have been testing with Japanese and neither is working. Will try to do some more tests and will update. Regards |
Thanks for the update @leftyb |
* master: Path to properly handle old format S3 URL and try to normalise them and update DB This close #2029 Improvement for G1GC settings This refer to #2019 Patch to protect when recording file not in the filesystem. This close #2028 Patch Improve Actor Supervisor strategy and avoid timeouts This refer to #2022 Patch Improve Actor Supervisor strategy and avoid timeouts This refer to #2022 Patch Improve Actor Supervisor strategy and avoid timeouts This close #2023 This close #2022 Work in progress to Improve Actor Supervisor strategy to avoid timeouts This refer to #2023 issue #1903 multilingua OUTBOUND SMS. issue #1903
This is still not fixed. I tried also sending Japanese from an RVD app and I get ??? for the message. |
@scottbarstow can you retest again, I wonder if I spoke too fast on upgrading but not cloud is upgraded. I just did a test from olympus and REST API and it's working for me. I receive the SMS with the japanese characters |
Yes, will test
…On Tue, Apr 18, 2017 at 9:28 AM, Jean Deruelle ***@***.***> wrote:
@scottbarstow <https://github.com/scottbarstow> can you retest again, I
wonder if I spoke too fast on upgrading but not cloud is upgraded. I just
did a test from olympus and REST API and it's working for me. I receive the
SMS with the japanese characters
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1903 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAtjo0aDpoJjOGkagmcl4f0By9R9pRnLks5rxLp4gaJpZM4MSUFc>
.
--
scottbarstow.com
@scottbarstow
+1-919-349-9473 (m)
|
It's working @deruelle. Thanks for re-checking. Will close |
@deruelle @leftyb fixed one thing and broke another. The message length is now only 70 chars for non-unicode messages. It appears that it's now encoding everything unicode, which is taking up 2 bytes per char. I've proven it with the following message: This works: This does not: See: https://help.nexmo.com/hc/en-us/articles/204076866-How-long-is-a-single-SMS-body- |
@scottbarstow I don't think we can do anything about it in this particular issue as Japanese needs to be unicode. The SMS Split is tracked separately in #1489. Ping me offline for priority on this one |
@deruelle @scottbarstow The only solution that can be provided to solve the issue is to use GSM encoding by default (as it was before), and be able to specify the encoding when sending the message. For Rest API request this can be implemented/fixed fast (as said before to add -d "Encoding=encoding"). But for RVD we need to ask @otsakir help maybe to add that option. @scottbarstow are you interested for Rest API request at the moment to send SMS messages? |
Can we close this one @leftyb @scottbarstow ? |
@leftyb I just tested again with the following:
|
Also tried UCS_2 encoding. That's slightly better but (in that it renders Unicode chars) but the chars are wrong |
@scottbarstow and @deruelle ... from the comment thread above, it looks like @leftyb was working on this. Shouldn't this be @gvagenas for Connect? |
@scottbarstow I have tested with various languages and still API works properly. You dont need to use the encoded version of it, just the proper text, and then enable Now for the RVD please open an issue. |
@leftyb I've retested again this morning and it seems to work for me now as well. It was definitely a different result the other day. Thanks, will open separate issue for RVD |
Great @scottbarstow. @deruelle just to comment that tested enabling text spiting, after help of @vetss, and works as well. So it seems that the message can reach to 125 characters. |
@leftyb great can it even go beyond 140 characters and be split correctly even for regular encoding ? |
@deruelle It seems that there is a limitation from RC it self. I will need to check on that. |
@leftyb let's open a separate issue to track that then. |
When sending Japanese characters in SMS body, the message that goes out to the provider is not being encoded correctly.
If you set the SMS body to either:
Original: 日本語
Encoded (UTF-8): %e6%97%a5%e6%9c%ac%e8%aa%9e
It shows up at the destination as '???'
Here's the curl command to send the message:
Here is the resulting payload from the SMS API:
Last, here is how it shows up on the handset.
The text was updated successfully, but these errors were encountered: