id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3783	mcview: file interpreted as latin1 instead of utf8	egmont	andrew_b	"In a fully UTF-8 environment, create this file which contains some Latin-1 characters:

{{{
echo $'copyright \xA9 plusminus \xB1' > latin1.txt
}}}

Verify that indeed simply sending out the file's contents to the terminal results in replacement symbols, as expected:

{{{
$ cat latin1.txt
copyright � plusminus �
$ cat latin1.txt | iconv --from latin1 --to utf8
copyright © plusminus ±
}}}

Now execute

{{{
mcview latin1.txt
}}}

and notice that the file's contents are displayed according to Latin-1, that is:

{{{
copyright © plusminus ±
}}}

Press Alt-E to confirm that the codeset is indeed UTF-8.

This is incorrect, if UTF-8 is chosen then replacement symbols should be shown instead of the copyright and plus-minus signs.

mcedit, as well as the standard panels (if filenames contain such bytes) don't suffer from this bug."	defect	closed	major	4.8.20	mcview	4.8.17	fixed					merged	committed-master
