Yes, that makes sense. Funny that we just talked about this.

string.lowerCase()  apparently chokes with Turkish.

Go figure.

Bob



On Tue, Jun 3, 2014 at 2:13 PM, Angel Herráez <angel.herr...@uah.es> wrote:

>  Dear Bob,
> You're going to love this bug report. It's thrilling!
>
>  I was today demonstrating the new PDB "ligand pocket" view that uses the
> "contact" command. Guess what... it breaks in Turkish computers, nothing is
> displayed but the standard protein rendering.
>
>  I think I have tracked down the issue. This is the error in the console
> history:
>
>  ----line 23 command 20 of function gotoligand:
>
> contact ıd >> "surf" << { ligandatoms } surface
>
> ----
>
> gotoligand ( "" , "IBP" )
>
>  Note that Turkish "i" without the dot. I guess the uppercase ID (that
> you usually use) is being somewhere converted to lowercase, and in Turkish
> that means without the dot on the i, and Jmol chokes.
>
>  That happens while working directly on the PDB site (Jmol Java), at
> least with Chrome and Firefox, and does not happen on my Spanish laptop in
> the same room and network. This means all Turkish users are deprived of the
> nice display of ligands within the contact-colored surface.
>
>  For clarification, Turkish is unique in having 2 kinds of "i" in both
> upper and lowercase and the matching makes it different:
>  i --> İ
>  ı --> I
>
>  while in any other language:
>  i --> I
>
>  (I hope the Unicode characters don't get lost in the email)
>
>  Probably changing the original code into lowercase "id" will avoid the
> issue.
> We can test up to next Friday.
>
>  Cheers,
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to