program mangles output when input contains Unicode characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txt2html (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Example using non-ASCII apostrophe:
-----
$ echo 'This won’t work well' | txt2html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://
<html xmlns="http://
<head>
<title></title>
<meta name="generator" content=
</head>
<body>
<p>This wonâ
</body>
</html>
------
Which displays in web browser as "This wonâ�TMt work well"
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: txt2html 1:2.53-2
ProcVersionSign
Uname: Linux 4.4.0-18362-
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Wed Jun 2 19:32:47 2021
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
LANG=C.UTF-8
TERM=xterm-
PATH=(custom, user)
SourcePackage: txt2html
UpgradeStatus: Upgraded to focal on 2021-04-17 (46 days ago)