tuxji commented on code in PR #768:
URL: https://github.com/apache/daffodil/pull/768#discussion_r841867026
##########
daffodil-io/src/main/scala/org/apache/daffodil/processors/charset/CharsetUtils.scala:
##########
@@ -33,11 +33,10 @@ object CharsetUtils {
* encodings as well as the standard ones.
*/
def getCharset(name: String): BitsCharset = {
- val cs = DaffodilCharsetProvider.charsetForName(name)
- cs
+ BitsCharsetDefinitionRegistry.find(name).newFactory.newInstance
Review Comment:
OK, let's keep the Registry suffix then.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]