-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get 乱码 #59
Comments
你方法名都是中文的? |
小马哥 <[email protected]>于2020年6月2日 周二下午11:17写道:
你方法名都是中文的?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQPQDV4HBUPCJ5D6GWZ723RUUJXNANCNFSM4NQSLB5A>
.
肯定不是中文的,是编码问题吗,没找到设置编码的地方
|
应该是编码问题,hprose输出的字符串是utf8编码的,但是如果没有汉字的情况下,即使浏览器当成ascii显示也应该是正常的啊,显示成这种乱码格式,我也不知道浏览器把它当成什么编码格式了。 |
上边的诡异代码在我更新了一遍maven的库之后正常了,但是依然返回乱码 |
直接用浏览器访问会当成文件下载,但是打开文件内容为空 |
返回值设置的 Content-Type 是 "text/plain",我觉得也许是服务器本身不支持造成的吧。不过这个 get 返回什么不重要,不影响正常调用。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
获取方法列表时返回的是乱码
The text was updated successfully, but these errors were encountered: