{"version":"2.1.53","anchor":"improved-detectfileencoding-error-handling","canonical_anchor":"improved-detectfileencoding-error-handling","heading":"Improved detectFileEncoding Error Handling","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.53\/e\/improved-detectfileencoding-error-handling","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.53","markdown":"### Improved `detectFileEncoding` Error Handling\n\nThe file encoding detection function now handles expected filesystem errors (ENOENT, EACCES, EPERM) gracefully with a debug-level log message instead of reporting them as unexpected errors.\n\n**Evidence**\n\nImproved error classification (search for `\"detectFileEncoding failed for expected reason\"`)"}