freemarker-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Woonsan Ko <woon...@apache.org>
Subject Re: [FM3] Rename encoding to charset, use Charset instead of String
Date Tue, 21 Mar 2017 14:31:56 GMT
+1 on both.

Woonsan

On Sun, Mar 19, 2017 at 2:22 PM, Daniel Dekany <ddekany@freemail.hu> wrote:
> We have this retro terminology where instead of charset we say
> encoding. (I understand that encoding has a wider meaning, but we only
> intend to support encoding/decoding via a charset.) So I think
> cfg.setDefaultEncoding and <#ftl encoding=...> and such should be
> renamed to cfg.setDefaultCharset and <#ftl charset=...>.
>
> Also, in the Java API-s we should use Charset instead of a String
> (java.nio.charset.Charset didn't exist when FM 2.3 was created).
>
> --
> Thanks,
>  Daniel Dekany
>

Mime
View raw message