UTF-8 Data Serialization: Adapting to Unicode in Your Application
Next is the serialization related to data. Since the original data was in ASCII, it now needs to support UTF-8. Therefore, corresponding adjustments need to be made in places such as data storage, output, and input. For example, database schema, storage of email data, address book storage, and so on. Any place that involves outputting email addresses needs to be adjusted. It is not enough to simply change the output to UTF-8 in some cases, but also requires corresponding adjustments based on the business needs. For example, when logging output, sometimes it is necessary to not only output the original email address, but also convert the original punycode domain name to UTF-8 for easy viewing.
原文地址: https://www.cveoy.top/t/topic/ptfP 著作权归作者所有。请勿转载和采集!