Re: UTF-8 properties files and BOMs

2020-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 2/11/20 9:47 AM, Mark Thomas wrote: > On 11/02/2020 14:26, Christopher Schultz wrote: > >> This appears to be a bug in (at least old versions of) Java >> and/or native2ascii. I've got local installations of Java 8, 11 >> (Adopt), 11

Re: UTF-8 properties files and BOMs

2020-02-11 Thread Mark Thomas
On 11/02/2020 14:26, Christopher Schultz wrote: >> The thing that bugged me was having to manually switch properties >> files to UTF-8 to view them "properly". You mail motivated me to >> track down where I can change that in Eclipse: > >> Window->Preferences->General->Content Types > >> and

Re: UTF-8 properties files and BOMs

2020-02-11 Thread Martin Grigorov
On Tue, Feb 11, 2020 at 4:27 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 2/11/20 2:37 AM, Martin Grigorov wrote: > > I guess you use Java 8. Newer versions of Java try UTF-8 first and > > then fallback to ISO-8859-1: >

Re: UTF-8 properties files and BOMs

2020-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2/11/20 2:37 AM, Martin Grigorov wrote: > I guess you use Java 8. Newer versions of Java try UTF-8 first and > then fallback to ISO-8859-1: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/P ropertyResourceBundle.html

Re: UTF-8 properties files and BOMs

2020-02-11 Thread Mark Thomas
On 10/02/2020 20:58, Christopher Schultz wrote: > All, > > I've recently begun making a change to my application's resource > bundles, converting them into UTF-8 for readability and converting > them to ISO-8859-1 during my build process to make ResourceBundle happy. > > I have everything

Re: UTF-8 properties files and BOMs

2020-02-10 Thread Martin Grigorov
Hi Chris, On Mon, Feb 10, 2020 at 10:59 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > I've recently begun making a change to my application's resource > bundles, converting them into UTF-8 for readability and