Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 NSXMLParser 上使用特定的编码?
它默认在 utf-8 上,我想在 tis-620 上使用有什么想法吗?
If there is a correct encoding info inside the xml (first line, e.g. <?xml version="1.0" encoding="UTF-8"?>) everything should work out of the box.
?xml version="1.0" encoding="UTF-8"?>