I checked /usr/share/apport/general-hooks/ubuntu.py in Ubuntu 18.04 (bionic) and 22.04 (jammy) and they are fixed:
``` report['DpkgTerminalLog'] = '\n'.join([str(line.decode('UTF-8', 'replace')) for line in lines]) ```
I checked /usr/share/ apport/ general- hooks/ubuntu. py in Ubuntu 18.04 (bionic) and 22.04 (jammy) and they are fixed:
```
report[ 'DpkgTerminalLo g'] = '\n'.join( [str(line. decode( 'UTF-8' , 'replace')) for line in lines])
```