标签: php utf-8 encode
如何使用非拉丁字符转换字符串,如下所示:
伊藤りな
对此:
%E4%BC%8A%E8%97%A4%E3%82%8A%E3%81%AA
在PHP中。谢谢;)
答案 0 :(得分:4)
使用urlencode php函数:
urlencode($string)