ntelliJ IDEA 的 HTTP Client 工具中发送 HTTP 请求时 返回拉丁编码 iso-8859-1

返回拉丁编码

python 处理方式

text.encode('latin').decode()

java

new String(str.getBytes("ISO-8859-1"), "UTF-8")

php

echo iconv("ISO-8859-1", "UTF-8", implode("",  str_split($str)));

自带的出方法

### 获取秘钥
GET {{host}}/service/getApiSecret?method=yczmlsxkzcx&secretKey=wTBpAF9DckB4KssHu922LN5hew2iirho+Sa8k4n1qws=&
    UserId=QXZSPJ


.asCharset("GBK")
posted @ 2023-06-14 14:54  vx_guanchaoguo0  阅读(67)  评论(0编辑  收藏  举报