everettjf/vscode-filter-line

Encoding problem - charset wrong in . filterline output file

tklems opened this issue · 2 comments

Hi,
when I try to filter “by string” a file with CP1250 encoding then the output “filterline” file has incorrect characters. It is neither in CP2150 nor in UTF-8. Is it possible to detect and preserve the encoding?
Thank you.
Tomas

Thanks for your feedback.
Could you provide a CP1250 encoding file to reproduce the bug?

OK, here you are two files. The original file "cp1250.txt" in CP1250 encoding and filtered-out result/output file. The result file is neither correct in CP1250 nor UTF-8.
Thank you.

cp1250.txt
cp1250.txt.filterline.txt