[GH-ISSUE #533] encoding error when restoring arabic messages. #452

Closed
opened 2026-02-26 01:30:37 +03:00 by kerem · 6 comments
Owner

Originally created by @samiemad on GitHub (Feb 1, 2015).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/533

I made a full backup of my messages a few days earlier, now when I try to restore them all I get is some '=', numbers and letters
eg: =D8 =D7 =86 =C7 ... etc

I guess the problem is somewhere in the encoding of text.

Originally created by @samiemad on GitHub (Feb 1, 2015). Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/533 I made a full backup of my messages a few days earlier, now when I try to restore them all I get is some '=', numbers and letters eg: =D8 =D7 =86 =C7 ... etc I guess the problem is somewhere in the encoding of text.
kerem closed this issue 2026-02-26 01:30:37 +03:00
Author
Owner

@jberkel commented on GitHub (Feb 1, 2015):

do you have a message i could use for testing ?

<!-- gh-comment-id:72375937 --> @jberkel commented on GitHub (Feb 1, 2015): do you have a message i could use for testing ?
Author
Owner

@samiemad commented on GitHub (Feb 4, 2015):

this message:
original message:
لديك 2 من باقة الرسائل المحلية صالحة لمدة 1 أيام.

restored message:
=D9=84=D8=AF=D9=8A=D9=83 2 =D9=85=D9=86 =D8=A8=D8=A7=D9=82=D8=A9 =D8=A7=D9=
=84=D8=B1=D8=B3=D8=A7=D8=A6=D9=84 =D8=A7=D9=84=D9=85=D8=AD=D9=84=D9=8A=D8=
=A9 =D8=B5=D8=A7=D9=84=D8=AD=D8=A9 =D9=84=D9=85=D8=AF=D8=A9 1 =D8=A3=D9=8A=
=D8=A7=D9=85=2E

I think I have seen the same pattern "=D2=E7...." in the past when I tried to send a note from an android phone to a nokia symbian6 phone

it appears that every arabic letter is replaced by 6 chars, eg: ل turns into "=D9=84" which is the UNICODE of that letter

<!-- gh-comment-id:72773720 --> @samiemad commented on GitHub (Feb 4, 2015): this message: original message: لديك 2 من باقة الرسائل المحلية صالحة لمدة 1 أيام. restored message: =D9=84=D8=AF=D9=8A=D9=83 2 =D9=85=D9=86 =D8=A8=D8=A7=D9=82=D8=A9 =D8=A7=D9= =84=D8=B1=D8=B3=D8=A7=D8=A6=D9=84 =D8=A7=D9=84=D9=85=D8=AD=D9=84=D9=8A=D8= =A9 =D8=B5=D8=A7=D9=84=D8=AD=D8=A9 =D9=84=D9=85=D8=AF=D8=A9 1 =D8=A3=D9=8A= =D8=A7=D9=85=2E I think I have seen the same pattern "=D2=E7...." in the past when I tried to send a note from an android phone to a nokia symbian6 phone it appears that every arabic letter is replaced by 6 chars, eg: ل turns into "=D9=84" which is the UNICODE of that letter
Author
Owner

@samiemad commented on GitHub (Feb 4, 2015):

I tried to fix the error myself, but I got a million errors when I imported to eclipse and was too lazy to debug them all :(

<!-- gh-comment-id:72774420 --> @samiemad commented on GitHub (Feb 4, 2015): I tried to fix the error myself, but I got a million errors when I imported to eclipse and was too lazy to debug them all :(
Author
Owner

@jberkel commented on GitHub (Feb 4, 2015):

sorry, i can't reproduce. is this with the newest version ? and can you post the full headers of the email ?

<!-- gh-comment-id:72832108 --> @jberkel commented on GitHub (Feb 4, 2015): sorry, i can't reproduce. is this with the newest version ? and can you post the full headers of the email ?
Author
Owner

@jberkel commented on GitHub (Feb 4, 2015):

also I'd recommend to use Android Studio if you want to work on the code.

<!-- gh-comment-id:72832228 --> @jberkel commented on GitHub (Feb 4, 2015): also I'd recommend to use [Android Studio](https://developer.android.com/sdk/index.html) if you want to work on the code.
Author
Owner

@jberkel commented on GitHub (Mar 3, 2015):

closing this, insufficient information

<!-- gh-comment-id:76935327 --> @jberkel commented on GitHub (Mar 3, 2015): closing this, insufficient information
Sign in to join this conversation.
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/sms-backup-plus-jberkel#452
No description provided.