aşağıdaki gibi güncelledim ben utf-8 değilse utf-8e çeviriyor
import re
import json
import os
import chardet # Dosya encoding'ini tespit etmek için
# Tip haritasını yükle
with open('type_map.json', 'r', encoding='utf-8') as f:
type_map = json.load(f)
# Uzun tipleri önce işle (öncelik...