Github user HansBrende commented on the issue:

    https://github.com/apache/any23/pull/122
  
    @lewismc , great to hear!
    
    After I do a bit of last-minute cleanup, I will merge this PR.
    
    Cleanup item 1: I'm renaming `TripleFormat.ExtendedCapabilities` to 
`TripleFormat.FineCapabilities`, as I think the first name is a slightly 
misleading. 
    
    Cleanup item 2: For now, I'm removing the newly added support for 
configuring a writer's charset via `Settings` (although we could take another 
look at doing this in a future issue), for 3 reasons:  
    
    1. Some XML-based writers hard-code a "encoding=utf8" declaration which 
might then conflict with user-supplied charset and produce an invalid document.
    2. If the user sets a writer's charset to US-ASCII or similar, that could 
create a problem if the writer doesn't support escaping non-ascii characters. 
(To my knowledge, only the `NTriplesWriter` and `NQuadsWriter` support this.)
    3. The default charset for every existing writer is already UTF-8, and I 
can't think of a good reason to support anything else.


---

Reply via email to