Crash using other than UTF8 encoding and special character

Bug #1650919 reported by Dominique Ramaekers
958
This bug affects 163 people
Affects Status Importance Assigned to Milestone
command-not-found
Fix Released
High
Dominique Ramaekers

Bug Description

In a ssh session using a encoding other then UTF8.
Entering a command with a special character makes cnf crash.

This is a bug report to centralist the numerous similar bug reports.

summary: - Crash in ssh session using ether the UTF8 encoding and special character
+ Crash in ssh session using other then UTF8 encoding and special
+ character
summary: - Crash in ssh session using other then UTF8 encoding and special
+ Crash in ssh session using other than UTF8 encoding and special
character
summary: - Crash in ssh session using other than UTF8 encoding and special
- character
+ Crash using other than UTF8 encoding and special character
Revision history for this message
Dominique Ramaekers (dominique-ramaekers) wrote :

This bug was fixed in the package command-not-found - 0.3ubuntu13

---------------
command-not-found (0.3ubuntu13) utopic; urgency=low

  * add python3 suggestion if a user types "python"
    (LP: #1306682)
  * do not crash for invalid unicode (LP: #1130444)
  * update scan.data to latest utopic
 -- Michael Vogt <email address hidden> Wed, 16 Jul 2014 08:03:59 +0200
Changed in command-not-found (Ubuntu):
status: Fix Committed → Fix Released

Changed in command-not-found:
status: In Progress → Fix Released
Revision history for this message
mowenjie (mowenjie) wrote :

## Mac系统在iterm2软件使用sz命令时出现\udc8a: command not found 的错误提示

[please describe the issue]
1.我在Mac系统上使用iterm2这个终端连接工具,我配置了Mac系统使用sz rz的脚本,我是按照这个教程配置的(https://github.com/snow-sprite/rzsz),我的配置没有问题,我能成功使用sz rz上传下载文件,但是它显示了\udc8a: command not found这个错误提示,这让我很不爽。

## Current and expected result

我在Ubuntu20.04.2 TLS版本的系统上,是没有\udc8a: command not found这个错误提示的,但是在20.04.3 TLS这个版本系统上会有这个错误提示,我不想看到这个烦人的错误,我猜测是utf-8字符不能解码\udc8a字符集造成的

## Screenshot

这个是20.04.3 TLS版本系统使用sz命令下载文件到本地的错误提示截图
![](https://hercules-gitbook-image.oss-cn-shenzhen.aliyuncs.com/bug/Xnip2021-12-23_09-35-04.png)

但是20.04.2 TLS版本系统同样的使用sz命令却没有这个错误提示
![](https://hercules-gitbook-image.oss-cn-shenzhen.aliyuncs.com/bug/Xnip2021-12-23_09-36-04.png)
## last

我看到这个bug已经修复了,为什么我现在还会出现这个错误提示呢?是我的配置有问题吗?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.