File tree 1 file changed +4
-2
lines changed
jbake-core/src/main/java/org/jbake/app/configuration
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -525,7 +525,8 @@ public Charset getOutputHtmlCharset()
525
525
return Charset .forName (charsetStr );
526
526
}
527
527
catch (Exception ex ) {
528
- throw new JBakeException ("Unknown character set: " + charsetStr + " Try " + StandardCharsets .UTF_8 .name ());
528
+ //throw new JBakeException("Unknown character set: " + charsetStr + " Try " + StandardCharsets.UTF_8.name());
529
+ return StandardCharsets .UTF_8 ;
529
530
}
530
531
}
531
532
@@ -537,7 +538,8 @@ public Charset getInputCharset()
537
538
return Charset .forName (charsetStr );
538
539
}
539
540
catch (Exception ex ) {
540
- throw new JBakeException ("Unknown character set: " + charsetStr + " Try " + StandardCharsets .UTF_8 .name ());
541
+ //throw new JBakeException("Unknown character set: " + charsetStr + " Try " + StandardCharsets.UTF_8.name());
542
+ return StandardCharsets .UTF_8 ;
541
543
}
542
544
}
543
545
You can’t perform that action at this time.
0 commit comments