Fix incoming sms encoding issue
Some french char, and also emojies was rendered as "\324\2343" chars.
This has been introduced with d27f7e1
, when the printf %b became %s,
while moving it to the new sxmo_hook_smslog.sh.
Reverting this fix the problem.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
This commit is contained in:

committed by
Anjandev Momi

parent
835cece3da
commit
2c0c56dfca
@@ -26,10 +26,10 @@ fi
|
||||
|
||||
# if group chain also print the sender
|
||||
if [ "$NUM" != "$LOGDIRNUM" ] && [ "$ACTION" = "recv" ]; then
|
||||
printf "%s from %s at %s:\n%s\n" \
|
||||
printf "%s from %s at %s:\n%b\n" \
|
||||
"$VERB" "$NUM" "$TIME" "$TEXT"
|
||||
else
|
||||
printf "%s at %s:\n%s\n" \
|
||||
printf "%s at %s:\n%b\n" \
|
||||
"$VERB" "$TIME" "$TEXT"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user