testing CI

This commit is contained in:
dgtlmoon
2026-03-05 11:12:04 +01:00
parent 28a70c4e2a
commit 8e83643c70
+4 -2
View File
@@ -265,8 +265,10 @@ class difference_detection_processor():
# encode('utf-8') raises UnicodeEncodeError downstream in checksums, diffs, file writes, etc.
# Covers all fetchers (requests, playwright, puppeteer, selenium) in one place.
# See: https://github.com/dgtlmoon/changedetection.io/issues/3952
if self.fetcher.content and isinstance(self.fetcher.content, str):
self.fetcher.content = self.fetcher.content.encode('utf-8', errors='replace').decode('utf-8')
# DISABLED FOR NOW, TRY TO SEE IF THE TEST BREAKS ON GITHUB
# if self.fetcher.content and isinstance(self.fetcher.content, str):
# self.fetcher.content = self.fetcher.content.encode('utf-8', errors='replace').decode('utf-8')
# After init, call run_changedetection() which will do the actual change-detection