Skip to content
Discussion options

You must be logged in to vote

Charset can be specified with ReaderConfigurator charset():

public ReaderConfigurator charset(Charset charset) {
this.charset = charset;
return this;
}

However, it is unused in Gumtree itself. It is possible to detect automatically the charset of input file, however, theoretically it's impossible to 100% determine the correct charset (see libs and discussions here: https://stackoverflow.com/questions/499010/java-how-to-determine-the-correct-charset-encoding-of-a-stream).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jrfaller
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants