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

  • 相关阅读:
    Thread.join()的使用
    Java 编程思想
    LoadRunner 常见错误
    Selenium+IDEA+Maven+TestNG环境搭建
    计算机基本知识了解(二)
    Java中int和Integer的区别
    计算机基本知识了解(一)
    Jmeter安装及环境配置
    app稳定性测试-monkey测试
    .net framework
  • 原文地址:https://www.cnblogs.com/dengchaojie/p/7727992.html
Copyright © 2011-2022 走看看