23
edits
m (→Interpretation) |
|||
| 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 | * 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. | ||
* 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