| Server IP : 173.249.148.11 / Your IP : 216.73.216.179 Web Server : Apache/2.4.68 (AlmaLinux) System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64 User : devinter ( 1006) PHP Version : 8.3.35 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /snap/core24/1643/usr/lib/python3/dist-packages/chardet/__pycache__/ |
Upload File : |
�
�d� � �n � d dl mZmZ ddlmZ ddlmZ ddlmZm Z m
Z
ddlmZm
Z
mZmZ G d� de� Zy )
� )�Optional�Union� )�
CharSetProber)�CodingStateMachine)�LanguageFilter�MachineState�ProbingState)�HZ_SM_MODEL�ISO2022CN_SM_MODEL�ISO2022JP_SM_MODEL�ISO2022KR_SM_MODELc � � � e Zd ZdZej
fdeddf� fd�
Zd� fd�Zede e
fd�� Zede e
fd�� Zde
fd �Zd
eeef defd�Z� xZS )
�EscCharSetProberz�
This CharSetProber uses a "code scheme" approach for detecting encodings,
whereby easily recognizable escape or shift sequences are relied on to
identify these encodings.
�lang_filter�returnNc � �� t �| � |�� g | _ | j t j
z rP| j j
t t � � | j j
t t � � | j t j z r(| j j
t t � � | j t j z r(| j j
t t � � d| _ d | _ d | _ t"