|
From: Shlomy R. <sre...@gm...> - 2009-01-25 21:25:15
|
Great finding, thanks. will you fix it, or should I? It is very annoying, it happens on each directory search I run, and I do it quite frequently. Shlomy On Sun, Jan 25, 2009 at 11:03 PM, Kazutoshi Satoda <k_s...@f2...> wrote: > Shlomy Reinstein wrote: >> >> So, doesn't the hypersearch use this list of fallback encodings? > > I traced this and found the cause in StandardUtilities.getBoolean() > that the method doesn't check for Boolean as the javadoc says. Then > getBoolean(Boolean.TRUE) becomes false. > > This method was made in r14304 and this problem happens only in trunk. > > I couldn't find why it works when the file is manually open. The > property Buffer.ENCODING_AUTODETECT is Boolean.TRUE for temporary > files (used in hypersearch), but it is "true" (instance of String) for > manually opened files. > > -- > k_satoda > |