litesuits / litesuits/android-lite-http
这个链接请求,中文乱码!
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 817
- Forks
- 337
- PR merge metrics
- No merged PRs in 30d
Description
这是地址:
http://www.sh-link.com/MagicDisc_bin/HelperDoc/helperhtml.txt
我这样请求是正常的中文:
URL url = new URL(uri);
BufferedReader reader = new BufferedReader(new InputStreamReader(url.openConnection().getInputStream(), "GBK"));
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the request to http://www.sh-link.com/MagicDisc_bin/HelperDoc/helperhtml.txt and compare LiteHttp's Chinese response with the Java URL/InputStreamReader example using GBK. Trace the request and response decoding entry points, then verify that the Chinese text is rendered correctly for this URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100