On 06-05 00:35, Scott Howard wrote: > On Mon, Jun 4, 2012 at 11:39 PM, Witold Baryluk > <bary...@smp.if.uj.edu.pl> wrote: > > Hi, > > > > thanks at looking at this problem. > > > > You are right that it is connected to polish locale, and I can connfirm > > that this is locale dependent. > > > > 'env LC_ALL=C arduino' starts just fine, but 'arduino (with my default > > LC_ALL=pl_PL.UTF-8), shows error and doesn't starts. > > > > Any idea what this 'r' in patterns is, and why it is different in Polish > > locale? > > The string was "mmddyy" standing for two digit month, day, and year. > The polish translator translated the string into: "rrmmdd" where r = > rok. Java couldn't match "r" (rok) to month day or year, so it just > crashed. > > mmddyy shouldn't have been translated, so they just removed the > translation to fix it. > > ~Scott Hi,
Ah, so simple. Good to know problem is solved upstream and thanks for your explanation. But I think in Polish locale it should be changed to "yymmdd" anyway - English way of writing dates is akward ;) BTW. <java-hating>C-ish strfmtime with its "%m%d%y" would be much safer probably - it would have smaller change of getting incidently translated, due presence of % signs ;D</off> Kindly regards, Witek -- Witold Baryluk pe -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org