UILabel 文本中的加号
我有一个iPhone应用程序,它使用core.data作为其存储和休息API(基于apache jersey)。
它检索数据,将其保存到 core.data,然后在应用程序上显示数据。
我遇到的问题是空格被替换为+号...
这是来自其余服务的编码问题吗?
I have an iPhone app that uses core.data as its storage and a rest api (apache jersey based).
it retrieves data, saves it to core.data and then displays the data on the app.
The problem i have is that the spaces are replaced with + signs...
Is this an encoding issue that comes from the rest service?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,该字符串已经过 URL 编码。空格被替换为+号。非字母数字字符将替换为其 ASCII 等效字符。
我相信你想使用解码它
Yes, that string has been URL Encoded. Spaces are replaced with + signs. Non alpha numeric characters are replaced by their ASCII equivalents.
I believe you want to decode it using