aalto-xml icon indicating copy to clipboard operation
aalto-xml copied to clipboard

Support windows-1251 encoding for async (non-blocking) parsing

Open prophe05 opened this issue 7 years ago • 1 comments

Hello.

I tried to parse xml with windows-1251, but caught error:

com.fasterxml.aalto.WFCException: Unsupported encoding 'windows-1251': only UTF-8 and US-ASCII support by async parser

Any plans to support encodings differing from UTF-8 and US-ASCII.

Or did I miss something?

prophe05 avatar Jul 28 '17 11:07 prophe05

No plans to add handling of other encodings for non-blocking parsers at this point.

Technical challenge is that non-blocking parsers is byte-based, not character based (Reader), so support would require lots of code duplication.

cowtowncoder avatar Dec 04 '17 21:12 cowtowncoder