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.
在我的应用程序中,我试图将 sqlite 数据库中的一些数据读入 UITextView。
此文本有双引号和单引号,例如:
她说:“凯蒂的钱包丢了”
当我这样做时,我会得到奇怪的字符来代替双引号和单引号。请帮助我解决这些字符的问题。
谢谢。
如果你得到一个奇怪的字符(或一组字符)替换"和另一个替换',你可以扫描字符串并替换。如果你不是,那么:
"
'