8000 使用application/x-www-form-urlencoded编码,中文参数乱码 · Issue #1257 · cfug/dio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
使用application/x-www-form-urlencoded编码,中文参数乱码 #1257
Closed
@yhz199132

Description

@yhz199132

使用application/x-www-form-urlencoded编码,参数中文出现乱码,Headers中默认的formUrlEncodedContentType参数值:application/x-www-form-urlencoded,没有声明charset=utf-8。请求中使用options:Options(
contentType: 'application/x-www-form-urlencoded; charset=utf-8',
)的方式不生效。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0