View Single Post
Old 12-09-2012, 11:11 AM   #151
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 582
Karma: 1258323
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
Doesn't the current code already do that? Other scripts will use characters with ord() > 127.

If ord(x) > 127, then character x is considered ok.

In other words: right now, a keyword goes into 11.html if and only if it its 2-character prefix contains an ascii char x with ord(x) <= 127 which is not a letter. And I have tested that, in this case, the keyword is correctly retrieved.

Am I missing something?
AlPe is offline   Reply With Quote