News for hackers. Stuff that matters.
Re:UTF-8 Everywhere (2012) by ridiculous_fish on Monday June 20, 2016 @02:21AM (#11936377)
Abstraction is the alternative. Design an API that treats encodings uniformly, and the encoding becomes an internal implementation detail. You can then have a polymorphic representation that avoids unnecessary conversions. NSString and Swift String both work this way.

There are no comments on this comment yet.