Update spellfix1_scriptcode() to output 215 (latin) for pure numeric text.

FossilOrigin-Name: df44308b862e932ff0ad25b6328d13be22047b96
This commit is contained in:
drh
2016-03-11 14:30:18 +00:00
parent a0ca3bc854
commit 811f17bac0
4 changed files with 27 additions and 12 deletions
+10 -1
View File
@@ -35,9 +35,18 @@ do_execsql_test 140 {
} {160}
do_execsql_test 200 {
SELECT spellfix1_scriptcode('+3.14159');
} {999}
} {215}
do_execsql_test 210 {
SELECT spellfix1_scriptcode('And God said: "Да будет свет"');
} {998}
do_execsql_test 220 {
SELECT spellfix1_scriptcode('+3.14159 light');
} {215}
do_execsql_test 230 {
SELECT spellfix1_scriptcode('+3.14159 свет');
} {220}
do_execsql_test 240 {
SELECT spellfix1_scriptcode('וַיֹּ֥אמֶר +3.14159');
} {125}
finish_test