OLD | NEW |
1 | 1 |
2 # | 2 # |
3 # Parameter $zName must be a path to the file UnicodeData.txt. This command | 3 # Parameter $zName must be a path to the file UnicodeData.txt. This command |
4 # reads the file and returns a list of mappings required to remove all | 4 # reads the file and returns a list of mappings required to remove all |
5 # diacritical marks from a unicode string. Each mapping is itself a list | 5 # diacritical marks from a unicode string. Each mapping is itself a list |
6 # consisting of two elements - the unicode codepoint and the single ASCII | 6 # consisting of two elements - the unicode codepoint and the single ASCII |
7 # character that it should be replaced with, or an empty string if the | 7 # character that it should be replaced with, or an empty string if the |
8 # codepoint should simply be removed from the input. Examples: | 8 # codepoint should simply be removed from the input. Examples: |
9 # | 9 # |
10 # { 224 a } (replace codepoint 224 to "a") | 10 # { 224 a } (replace codepoint 224 to "a") |
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 # was specified. | 802 # was specified. |
803 # | 803 # |
804 if {$::generate_test_code} { | 804 if {$::generate_test_code} { |
805 print_test_isalnum sqlite3FtsUnicodeIsalnum $lRange | 805 print_test_isalnum sqlite3FtsUnicodeIsalnum $lRange |
806 print_fold_test sqlite3FtsUnicodeFold $mappings | 806 print_fold_test sqlite3FtsUnicodeFold $mappings |
807 print_test_main | 807 print_test_main |
808 } | 808 } |
809 | 809 |
810 puts "#endif /* defined(SQLITE_ENABLE_FTS3) || defined(SQLITE_ENABLE_FTS4) */" | 810 puts "#endif /* defined(SQLITE_ENABLE_FTS3) || defined(SQLITE_ENABLE_FTS4) */" |
811 puts "#endif /* !defined(SQLITE_DISABLE_FTS3_UNICODE) */" | 811 puts "#endif /* !defined(SQLITE_DISABLE_FTS3_UNICODE) */" |
OLD | NEW |