Skip to content

Incorrect display of Cyrillic characters in the description #1923

@eoan-ermine

Description

@eoan-ermine

Is there an existing issue for this?

  • I have searched the existing issues and found none matching what I'm reporting.

Bug Description

Cyrillic characters in the description of deb packages are displayed incorrectly.

Image

Steps to reproduce the behavior

  1. Create debian package with cyrillic description
mkdir -p sample/DEBIAN
cat > sample/DEBIAN/control << EOL
Package: sample
Version: 0.1
Maintainer: [email protected]
Architecture: all
Description: Привет, мир
EOL
dpkg-deb --build sample
  1. Open the package with app center

Expected behavior

https://www.debian.org/doc/debian-policy/ch-controlfields.html states that all control files must be encoded in UTF-8. My control file is

sample/DEBIAN/control: Unicode text, UTF-8 text

So I expect correct display of description.

Ubuntu release

24.04 LTS

What architecture are you using?

amd64

System info

No response

Additional context

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions