There can be NPE when default charset is not defined