Kęstutis Biliūnas <[email protected]> writes: >> ... The problem is that the bugreporter is >> using a legacy ISO-8859-1 charmap. Dict might fail more gracefully, >> but it's got to fail. > > Not, it does not fails, and outputs the correct information, only the > terminal is unable to show. This is very similar to the old bug of the
Hmm, isn't it a bug to blindly send data to terminal in encoding X when locale says that encoding Y should be used? For example some programs forcibly send ANSI escape sequences without checking (through termcap I believe) if the terminal supports colors or not and this is considered a bug (#479877, #448059, #503053). I'd prefer that dict used the locale system to figure out what encoding can be used and then either 1) printed an error message about unsupported locale or 2) simply ran the output through isprint() or something. I'll consider filing a bug against recode too when I understand the issue better. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

