OLD | NEW |
1 ######################## BEGIN LICENSE BLOCK ######################## | 1 ######################## BEGIN LICENSE BLOCK ######################## |
2 # The Original Code is Mozilla Universal charset detector code. | 2 # The Original Code is Mozilla Universal charset detector code. |
3 # | 3 # |
4 # The Initial Developer of the Original Code is | 4 # The Initial Developer of the Original Code is |
5 # Netscape Communications Corporation. | 5 # Netscape Communications Corporation. |
6 # Portions created by the Initial Developer are Copyright (C) 2001 | 6 # Portions created by the Initial Developer are Copyright (C) 2001 |
7 # the Initial Developer. All Rights Reserved. | 7 # the Initial Developer. All Rights Reserved. |
8 # | 8 # |
9 # Contributor(s): | 9 # Contributor(s): |
10 # Mark Pilgrim - port to Python | 10 # Mark Pilgrim - port to Python |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 eDetecting = 0 | 31 eDetecting = 0 |
32 eFoundIt = 1 | 32 eFoundIt = 1 |
33 eNotMe = 2 | 33 eNotMe = 2 |
34 | 34 |
35 eStart = 0 | 35 eStart = 0 |
36 eError = 1 | 36 eError = 1 |
37 eItsMe = 2 | 37 eItsMe = 2 |
38 | 38 |
39 SHORTCUT_THRESHOLD = 0.95 | 39 SHORTCUT_THRESHOLD = 0.95 |
OLD | NEW |