Fixed numeral localization in insulin delivery table view#1979
Conversation
|
Thanks, can you describe why this is an appropriate change? I don't see it documented that this method expects utf16, and that would be surprising, as usually utf8 is appropriate for these. See this for a possible alternate solution: https://stackoverflow.com/questions/61411944/nsattributedstring-from-utf16-characters-in-uitextview |
|
Hmm, although further searching brings up this page that does seem to indicate that NSAttributedString might be expecting UTF16. https://samwize.com/2016/05/24/nsattributedstring-html-ios-unicode-encoding/ Would be nice if this was documented. Let me know if you have any other references that can shed some light on what is actually expected by the platform. |
|
Here are some articles I referenced: Could you clarify where I should document this? |


Fixes #1968
This fixes the issue of symbols appearing instead of numerals. Changes mainly affect Arabic but all numbers should be displayed correctly according to their language now.