Skip to content
This repository was archived by the owner on Sep 29, 2018. It is now read-only.
This repository was archived by the owner on Sep 29, 2018. It is now read-only.

Some encoding support... #2

@AndroidCollege

Description

@AndroidCollege

First of all thank you so much for this library.
I'm trying to fetch from this XML:
http://www.ynet.co.il/Integration/StoryRss550.xml
I'm getting Gibberish at the getDescription() method so i've guess it's problem with the encoding.
is it possible to add support for 'Windows-1255' encoding ?
UTF-8 does work 90% of the time, but not on the above JSON link.
I've looked at the source code and i saw the UTF-8, and tried to edit the source code but with no
succession.

public static class OutputSettings implements Cloneable { private Entities.EscapeMode escapeMode = Entities.EscapeMode.base; private Charset charset = Charset.forName("UTF-8"); private CharsetEncoder charsetEncoder = charset.newEncoder(); private boolean prettyPrint = true; private boolean outline = false; private int indentAmount = 1;

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions