[New-bugs-announce] [issue43175] filecmp is not working for UTF-8 BOM file.
suresh
report at bugs.python.org
Tue Feb 9 00:36:37 EST 2021
New submission from suresh <sureshvigneshbe at gmail.com>:
Python base package filecmp is not working properly for 'UTF-8 BOM' css files.
I am using python version 3.6 and windows 10 OS.
while running the below code getting as False always.However the file content are same.
Code :
import filecmp
filecmp.clear_cache()
boolfile=filecmp.cmp(r'C:\Users\suresh.n\python\RPA\Page\Sowmiya\downloads\destination.txt',r'C:\Users\suresh.n\python\RPA\Page\Sowmiya\source\source,r'C:\Users\suresh.n\python\RPA\Page\Sowmiya\downloads.txt',shallow=False)
print(boolfile)
----------
components: Windows
files: source.txt
hgrepos: 397
messages: 386692
nosy: paul.moore, steve.dower, suresh, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: filecmp is not working for UTF-8 BOM file.
type: behavior
versions: Python 3.6
Added file: https://bugs.python.org/file49798/source.txt
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43175>
_______________________________________
More information about the New-bugs-announce
mailing list