matlab url encoding doubt
显示 更早的评论
if I encode the following text
str = 'Hello\nWorld';
enc = urlencode(str)
I get this output that is wrong:
enc =
'Hello%5CnWorld'
instead of this one that would be the correct one:
enc =
'Hello%0AWorld'
Is it possible to change the behavior so that '\n' is converted into '%0A' instead of '%5Cn'?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!