Subject: bug#36085: 26.2; find-dired octal escapes instead of Cyrillic text

From: Eli Zaretskii <[email-masked]>
Date: Sat, 08 Jun 2019 18:34:48 +0300

> From: Mattias Engdegård <[email-masked]>
> Date: Sat, 8 Jun 2019 17:14:11 +0200
> 
> Eli wrote:
> 
> > P.S. Emacs could perhaps go above and beyond the call of duty, and attempt to convert the octal escapes back to readable text. But I don't think we should do it, as it's a clear bug in 'find'. Nonetheless, if someone wants to submit patches to do such a conversion, I won't block them. 
> 
> The default (BSD) find in macOS does not seem to escape anything; files named Портрет or APL\360 are printed exactly that way. Thus, Emacs would need to know what 'find' it is running. This appears to validate your recommendation.

Indeed, the hard part is to distinguish between \nnn an octal escape
and the literal string "\nnn".  That difficulty is one reason why
gdb-mi.el performs a similar decoding only as an opt-in optional
behavior.