23
edits
| Line 13: | Line 13: | ||
** Otherwise, the file from the application's "res" directory will be used. | ** Otherwise, the file from the application's "res" directory will be used. | ||
* It should use the UTF-8 text encoding. Since UTF-8 is a superset of 7-bit ASCII (i.e., plain text with no diacritics or other special characters), a 7-bit ASCII file is also acceptable. | * It should use the UTF-8 text encoding. Since UTF-8 is a superset of 7-bit ASCII (i.e., plain text with no diacritics or other special characters), a 7-bit ASCII file is also acceptable. | ||
* Rules are not case-sensitive: they can be upper-case, lower-case, or any combination. | |||
* It should contain one effective-TLD rule per line. | * It should contain one effective-TLD rule per line. | ||
** Rules are only read up to the first whitespace (space or tab), allowing comments after each rule if desired. | ** Rules are only read up to the first whitespace (space or tab), allowing comments after each rule if desired. | ||
edits