lingochamp / lingochamp/FileDownloader
Cannot handle GBK character when build javadoc
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 11.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
Before Issue
- Please search on the Issues
- Please search on the wiki
- Please set
FileDownloadLog.NEED_LOG=trueand review the Logcat output from main process and:filedownloaderprocess ( pay attention to Warn and Error level logcat)
Issue
D:\github\FileDownloader\library\src\main\java\com\liulishuo\filedownloader\BaseDownloadTask.java:577: error: unmappable character for encoding GBK
* {@link FileDownloadStatus#completed}銆亄@link FileDownloadStatus#warn}銆?
^
D:\github\FileDownloader\library\src\main\java\com\liulishuo\filedownloader\services\BaseFileServiceUIGuard.java:156: error: unmappable character for encoding GBK
// 瀵圭О,鍙湁涓?娆emove锛岄槻姝㈠唴瀛樻硠婕?
^
D:\github\FileDownloader\library\src\main\java\com\liulishuo\filedownloader\services\BaseFileServiceUIGuard.java:156: error: unmappable character for encoding GBK
// 瀵圭О,鍙湁涓?娆emove锛岄槻姝㈠唴瀛樻硠婕?
^
3 errors
FAILURE: Build failed with an exception.
-
What problem do you get?
Cannot handle GBK character when build javadoc -
Which version of FileDownloader are you using when you produce such problem?
latest master -
How to reproduce such problem?
just firegradlew.bat buildfrom Windows -
Do you set
FileDownloadLog.NEED_LOG=true? -
Could you please reproduce this problem and provide all main process and
:filedownloaderprocess logcat -
Can you fix it by yourself and request PR, if not, what's problem do you get when you try to fix it
The GBK character in javadoc should be removed for better compatibility.
P.S. If you don't know how to get
:filedownloaderprocess, it's recommended to usingpidcatto just filter all your application logcat, or defineprocess.non-separate=trueon filedownloader.properties
请在Issue前认真的跟进上面提到的建议,这样将可以极大的加快你遇到问题的处理。
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
Start with library/src/main/java/com/liulishuo/filedownloader/BaseDownloadTask.java and library/src/main/java/com/liulishuo/filedownloader/services/BaseFileServiceUIGuard.java, where the Windows GBK javadoc build reports unmappable characters. Run gradlew.bat build on Windows and verify that the javadoc compilation completes without encoding errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100