Open GoogleCodeExporter opened 9 years ago
See [http://blog.thetaphi.de/2012/07/default-locales-default-charsets-and.html]
for a good explanation
Original comment by digitalpebble
on 23 Jan 2015 at 11:26
New patch which explicits the Locale to Locale.ROOT. It could make sense to use
Locale.getDefault() in some places e.g. logs, but at least this would make
things more explicit. It also uses Charset.defaultCharset() explicitly, we'll
improve the detection of the charset later as appropriate, for instance when
parsing the sitemaps.
Still need to fix the test classes which currently give 63 errors.
Making the use of the defaults explicit in our code has only a relatively minor
advantage but it means that we can use the Forbidden API by default and be able
to detect more serious issues later on.
Original comment by digitalpebble
on 23 Jan 2015 at 12:15
Hi Julien - the patch looks like it's just the change to the pom.xml, not the
changes to the code to fix up reported problems.
Original comment by kkrugler...@transpac.com
on 26 Jan 2015 at 1:24
indeed. I must have attached the wrong file. Will fix that on Wednesday, thanks
for pointing this out.
Original comment by digitalpebble
on 26 Jan 2015 at 5:55
Original issue reported on code.google.com by
digitalpebble
on 23 Jan 2015 at 9:19Attachments: