23
edits
| Line 10: | Line 10: | ||
* The file should be named '''effective_tld_names.dat''' | * The file should be named '''effective_tld_names.dat''' | ||
** | ** A file with that name in the application's "res" directory will always be used. | ||
** | ** In addition, if a file with the same name is found in the user's profile directory, its contents will also be used, as though they were appended to the system file. | ||
* 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 will be normalized by nsIDNService::Normalize, which implements RFC 3454. For ASCII, that means they're not case-sensitive; other normalizations are applied for other characters. | * Rules will be normalized by nsIDNService::Normalize, which implements RFC 3454. For ASCII, that means they're not case-sensitive; other normalizations are applied for other characters. | ||
edits