+++ This bug was initially created as a clone of Bug #187815 +++ Description of problem: ddd doesn't show Perl source code properly in case of mismatches between its encoding and the current locale, even using the iso10646 font suggested in the original bug Version-Release number of selected component (if applicable): ddd 3.3.11 How reproducible: See attached test case, test.pl Steps to Reproduce: 1. export LANG=it_IT.utf8 2. ddd test.pl 3. source display is truncated at first accented character 4. export LANG=it_IT.iso88591 (i.e. matching 'use encoding') 5. ddd test.pl 6. ddd test.pl 7. source display is fine Actual results: ddd stops showing the source file when it finds the first mismatched character Expected results: showing the source file properly. Additional info: The original reporter suggested that "it's not a bug in ddd because in other distros it works fine", but I have not been able to try other distros; I think that ddd might be ignoring the 'use encoding' pragma (it would probably need help from Perl or the Perl debugger for that, I guess, possibly using iconv).
Created attachment 130420 [details] .tar.gz containing test.pl, the testcase for the report
Please note that step 6 is a typo, sorry.
Just verified this with ddd-3.3.11-14.fc6 and it works OK. I think this bug can be closed.