[GH-ISSUE #166] [Feature Request] UTF-16 to ASCII #60

Closed
opened 2026-02-27 14:38:54 +03:00 by kerem · 3 comments
Owner

Originally created by @1alessandro1 on GitHub (May 17, 2025).
Original GitHub issue: https://github.com/iamromulan/quectel-rgmii-toolkit/issues/166

Hello, when checking the SMS section, phone numbers are encoded in UTF-16, in which a phone number looks like this:

002B003300390033003400300031003700390033003800390032

This could be converted to standard ASCII to represent the classical phone number E.164 format, where:

-   002B → Unicode U+002B → '+'
-   0033 → '3'
-   0039 → '9'
-   0033 → '3'
-   0034 → '4'
-   0030 → '0'
-   0031 → '1'

converting the whole string to +393401793892

Image

Originally created by @1alessandro1 on GitHub (May 17, 2025). Original GitHub issue: https://github.com/iamromulan/quectel-rgmii-toolkit/issues/166 Hello, when checking the SMS section, phone numbers are encoded in UTF-16, in which a phone number looks like this: `002B003300390033003400300031003700390033003800390032` This could be converted to standard ASCII to represent the classical phone number E.164 format, where: ``` - 002B → Unicode U+002B → '+' - 0033 → '3' - 0039 → '9' - 0033 → '3' - 0034 → '4' - 0030 → '0' - 0031 → '1' ``` converting the whole string to `+393401793892` ![Image](https://github.com/user-attachments/assets/9ce614ef-5be1-4dc2-a197-d29596413e81)
kerem closed this issue 2026-02-27 14:38:54 +03:00
Author
Owner

@clndwhr commented on GitHub (May 22, 2025):

Tracking
Bug Fix PR created for this.

https://github.com/iamromulan/quectel-rgmii-toolkit/pull/168

<!-- gh-comment-id:2902127416 --> @clndwhr commented on GitHub (May 22, 2025): Tracking Bug Fix PR created for this. https://github.com/iamromulan/quectel-rgmii-toolkit/pull/168
Author
Owner

@iamromulan commented on GitHub (Jun 1, 2025):

Merged to dev and sdxlemur main
Reopen if not resolved

<!-- gh-comment-id:2926079009 --> @iamromulan commented on GitHub (Jun 1, 2025): Merged to dev and sdxlemur main Reopen if not resolved
Author
Owner

@clndwhr commented on GitHub (Jun 1, 2025):

Looks good on my device

Image

<!-- gh-comment-id:2926170362 --> @clndwhr commented on GitHub (Jun 1, 2025): Looks good on my device ![Image](https://github.com/user-attachments/assets/71206fc7-ef4b-4a97-ab8d-08d3587b8b19)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/quectel-rgmii-toolkit#60
No description provided.