[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1022789: texinfo: UTF-8 is not the default input encoding



Package: texinfo
Version: 6.8-6+b1
Severity: normal

/usr/share/doc/texinfo/NEWS.gz says

  . UTF-8 is the default input encoding

but this is not true in Debian.

For instance,

------------------------------------------------------------
\input texinfo    @c -*-texinfo-*-
@documentencoding UTF-8

@node Top
@node Test

@minus{}

@bye
------------------------------------------------------------

compiled with makeinfo gives U+2212 MINUS SIGN, but

------------------------------------------------------------
\input texinfo    @c -*-texinfo-*-

@node Top
@node Test

@minus{}

@bye
------------------------------------------------------------

gives U+002D HYPHEN-MINUS.

Since UTF-8 is supposed to be the default input encoding,
whether "@documentencoding UTF-8" is present or not should
not make any difference.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages texinfo depends on:
ii  libc6                       2.35-1
ii  libtext-unidecode-perl      1.30-3
ii  libxml-libxml-perl          2.0207+dfsg+really+2.0134-1+b1
ii  perl                        5.36.0-4
ii  perl-base [perlapi-5.36.0]  5.36.0-4
ii  tex-common                  6.18

texinfo recommends no packages.

Versions of packages texinfo suggests:
ii  texlive-base               2022.20220923-1
ii  texlive-fonts-recommended  2022.20220923-1
ii  texlive-latex-base         2022.20220923-1
ii  texlive-plain-generic      2022.20220923-2

-- no debconf information

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: