Altinn / altinn-notifications

Altinn platform microservice for handling notifications (mail, sms, etc)
MIT License
2 stars 3 forks source link

Norske tegn i SMS'er erstattes med '?' (spørsmålstegn) #634

Closed tersto closed 2 weeks ago

tersto commented 1 month ago

Description of the bug

Gjelder tt02. I prod fungerer det greit.

Norske tegn i SMS'er sendt via notifications api erstattes med spørsmålstegn.

Tekst som ble sendt : 'Tester æøå ÆØÅ norske tegn'

Innhold i sms som virksomheten mottar:

"Tester ??? ??? norske tegn"

Steps To Reproduce

Følgende melding ble sendt via Postman til: (https://platform.tt02.altinn.no/notifications/api/v1/orders)

{
    "emailTemplate": {
        "subject": "Demo email subject",
        "body": "Demo email body",
        "content-type": "Plain"
    },
    "smsTemplate": {
        "body": "Tester æøå ÆØÅ norske tegn"
    },
    "notificationChannel": "smsPreferred",

    "recipients": [
        {"organizationNumber":"313479218"}
    ]   
}

Response:

{
    "orderId": "6062955f-2eb2-4897-8db3-7b3346caddc1",
    "recipientLookup": {
        "status": "Success",
        "isReserved": [],
        "missingContact": []
    }
}

Additional Information

No response

SandGrainOne commented 3 weeks ago

@tersto I've been unable to recreate the issue. I've tried 3-4 different orders and I get Norwegian letters in every test. I suspect that the issue is more hidden from us. Like what type of phone you have.

tersto commented 2 weeks ago

According to our test leader, the issue was resolved sometime between October 22nd and 24th. I was never informed about it. I close this now.

SandGrainOne commented 2 weeks ago

@tersto Thank you