L
L
l9l9l92018-02-18 17:44:18
ASCII
l9l9l9, 2018-02-18 17:44:18

How to correctly work with ASCII 8-bit in Swift 4?

I am writing an application in Swift 4 ios to display email text content using the MailCore2 library, if the text is encoded in UTF-8, then everything is displayed correctly, if in a different encoding, for example KOI8-R, then already incorrect characters are displayed. How to work correctly with 8-bit ASCII in ios development (128-255 are given for local encodings), taking into account the fact that the name of the encoding is known?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question