zoukankan      html  css  js  c++  java
  • xcode打印的汉字是什么编码

     

     

    xcode打印中文的编码是Unicode。

    例如:

    Unicode:U6ca1U6709U67e5U8be2U5230U5bf9U5e94U7684U7248U672cU4fe1U606f!

    对应的中文:

    中文简体(GB 2312):没有查询到对应的版本信息!

     

    An NSString object encodes a Unicode-compliant text string, represented as a sequence of UTF–16 code units. All lengths, character indexes, and ranges are expressed in terms of 16-bit platform-endian values, with index values starting at 0.

     

    description
    A string that represents the contents of the dictionary, formatted as a property list (read-only)

     

    Though the property list format uses ASCII for strings, note that Cocoa uses Unicode. Since string encodings vary from region to region, this representation makes the format fragile. You may see strings containing unreadable sequences of ASCII characters; these are used to represent Unicode characters.


     

    http://www.jianshu.com/p/f14b4cb1435b

     

    转换工具http://tool.chinaz.com/tools/unicode.aspx

  • 相关阅读:
    数组中寻找和为X的两个元素
    JSP&Servlet学习笔记(一)
    自下而上的动态规划算法
    计数排序
    快速排序
    堆排序
    LeetCode-001题解
    算法不归路之最大子序列(C++版)
    算法不归路之插入排序(C版)
    互联网五层模型
  • 原文地址:https://www.cnblogs.com/dengchaojie/p/7727992.html
Copyright © 2011-2022 走看看