Hi, On Wed, Aug 1, 2018 at 2:08 PM Mark Thomas <ma...@apache.org> wrote:
> On 01/08/18 12:03, Emmanuel Bourg wrote: > > Hi all, > > > > The LocalString*.properties files are ASCII encoded which renders the > > modification of the non-english messages rather inconvenient. > > Contributors either need a specialized resource editor or go through a > > native2ascii roundtrip. > > > > How do feel about converting the message files to UTF-8 to facilitate > > the modifications and transform them with native2ascii at build time? > > I like the idea but that will make building with later versions of Java > problematic - or at least more complex - since native2ascii has been > removed in Java 9 onwards. > What about using the XML version of Java Properties ? https://docs.oracle.com/javase/7/docs/api/java/util/Properties.html#loadFromXML(java.io.InputStream) This way the encoding could be specified in the XML file itself and there is no need to use native2ascii at all. Martin > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >