[Bug 2046151] Re: lshw -html: accented characters disappear in class="second"

Astrolivier 2046151 at bugs.launchpad.net
Tue Dec 12 00:12:05 UTC 2023


hello,

bug is in the escape fonction in osutils.cc

I've tried it with gdb and when you have an accentuated character the
condition passes then begins again with the first condition (== 0x9)
then continue the for loop

haven't found out why yet.

joined gdb text file (I modified the string s to have accents, they're
not ok in the linked file, should be ("hèèhe"))

** Attachment added: "gdbLaunchpad.txt"
   https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/2046151/+attachment/5728412/+files/gdbLaunchpad.txt

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lshw in Ubuntu.
https://bugs.launchpad.net/bugs/2046151

Title:
  lshw -html: accented characters disappear in class="second"

Status in lshw package in Ubuntu:
  Confirmed

Bug description:
  Hello,


  Ubuntu 22.04.3 LTS
  lshw version: 02.19.git.2021.06.19.996aaad9c7-2build1

  Expected: all characters must be shown in lshw -html.

  What happened instead: in French language, when running lshw -html,
  accented characters are suppressed in class="second" also not in
  class="first".

  
  Attachments: lshw.html, lshw.txt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/2046151/+subscriptions




More information about the foundations-bugs mailing list