Skip to content

Allow a full range of unicode characters in text messages - #6037

Open
quis wants to merge 2 commits into
mainfrom
allow-unicode-sms
Open

Allow a full range of unicode characters in text messages#6037
quis wants to merge 2 commits into
mainfrom
allow-unicode-sms

Conversation

@quis

@quis quis commented Aug 17, 2026

Copy link
Copy Markdown
Member

quis added 2 commits September 1, 2026 10:43
 ## 128.0.0

* Allows a full range of unicode characters in text messages
* Removes `SanitiseSMS.downgrade_character` and `SanitiseSMS.encode_char`, `SanitiseSMS.WELSH_DIACRITICS` and `SanitiseSMS.ALLOWED_CHARACTERS` (should not be used anywhere)
* Removes `SanitiseSMS.get_non_gsm_characters()` (use `template.non_gsm_characters` instead)
* `formatters.normalise_whitespace_and_newlines` and `formatters.normalise_whitespace` have a new, optional `preserve_zero_width_joiner` argument (no change in behaviour if not set to `True`)

 ## 127.1.0

* Adds additional methods to `recipient_validation.phone_number.PhoneNumber`, `is_uk_mobile_number` and `get_carrier_info`

***

Complete changes: alphagov/notifications-utils@127.0.0...128.0.0
@quis
quis force-pushed the allow-unicode-sms branch from fa01872 to c99bb2e Compare September 1, 2026 09:53
@quis
quis marked this pull request as ready for review September 1, 2026 09:55
Comment thread app/main/forms.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants