Consider replacing jchardet by juniversalchardet
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- build-system
Research direction
Start by locating the htmlparser dependency declaration and the code that uses jchardet.jar. Compare that integration with juniversalchardet's README and check the existing parser tests. Done means htmlparser uses juniversalchardet without regressions and no longer requires jchardet, including for Debian's packaging case.
Written by the indexing model from the issue text.
Description
At the moment, htmlparser depends on jchardet.jar to work.
Would you consider replacing it by juniversalchardet ?
Debian (and derivatives like ubuntu) doesn't ship jchardet but ships juniversalchardet. And htmlparser is a dependency of vnu.
Distributions covering each:
- jchardet: https://repology.org/project/jchardet/versions → fedora, suse...
- juniversalchardet:
- https://repology.org/project/juniversalchardet/versions → fedora, suse...
- https://repology.org/project/java%3Ajuniversalchardet/versions → debian & derivatives
According to the readme, it should fit.
At the moment, the Debian package of htmlparser removes chardet https://sources.debian.org/src/libhtml5parser-java/1.4%2Br1.3.1-3/debian/patches/no-chardet.patch/
- Dominant language
- Java
- Stars
- 65
- Forks
- 29
- Avg merge
- 11d 21h
- Merged PRs (30d)
- 3
Contributor guide
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.
More from validator/htmlparser
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
validator/htmlparser#98 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
validator/htmlparser#96 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
validator/htmlparser#87 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
validator/htmlparser#79 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
validator/htmlparser#60 ·
All issues in validator/htmlparser
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Openbug frontend maui-pilot
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/eo-graphs#74 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100