[Biojava-dev] Fw: Locale-sensitive PDB header produced

Amr AL-Hossary amr_alhossary at hotmail.com
Wed Sep 14 04:33:16 UTC 2011


Dear Dr. Andreas
I sent this email twice to the group before but it wasn't received, nor a 
rejection notification returned
Do you have any clues?
--------------------------------------------------
From: "Amr AL-Hossary" <amr_alhossary at hotmail.com>
Sent: Tuesday, September 13, 2011 6:41 PM
To: <biojava-dev at lists.open-bio.org>
Subject: Fw: Locale-sensitive PDB header produced

> While building Snapshot, the org.biojava.bio.structure.PDBFileParserTest 
> failed;
> because of the regional settings on my PC where month names are written in 
> Arabic.
>
> The test string was
> HEADER COMPLEX (SERINE PROTEASE/INHIBITORS) 06-FEB-98 1A4W
> while the produced Header was
> HEADER COMPLEX (SERINE PROTEASE/INHIBITORS) 06-فبر-98 1A4W
>
> So I changed all SimpleDateFormat constructors in Biojava 3 to be 
> explicitly tied to the US Locale.
>
> Please all stick to specifying fixed locale in any further development
>
> Amr 




More information about the biojava-dev mailing list