Package: whiptail
Version: 0.52.10-5+b1
Severity: normal

When Thai text is wrapped at the character with a following combining
character, the combining character gets wrapped instead of staying with the
base character at line end, and then totally disappears from the dialog.

Test case:

LANG=en_US.UTF-8 whiptail --title "ทดสอบวรรณยุกต์" \
  --msgbox "วรรณยุกต์อยู่ท้ายบรรทัดได้หรือไม่" 8 24

Expected result: a dialog like this:

  ┌───┤ ทดสอบวรรณยุกต์ ├───┐
  │                      │ 
  │ วรรณยุกต์อยู่ท้ายบรรทัดได้  │ 
  │ หรือไม่                │ 
  │                      │ 
  │        <Ok>          │ 
  │                      │ 
  └──────────────────────┘ 

What actually happens:

  ┌───┤ ทดสอบวรรณยุกต์ ├───┐
  │                      │ 
  │ วรรณยุกต์อยู่ท้ายบรรทัดได  │ 
  │ หรือไม่                │ 
  │                      │ 
  │        <Ok������習 >      │ 
  │                      │ 
  └──────────────────────┘ 

Notice the missing combining character at the end of the first line, and the
randomly spilling-over OK button.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=th_TH.UTF-8, LC_CTYPE=th_TH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages whiptail depends on:
ii  libc6                       2.10.2-6     Embedded GNU C Library: Shared lib
ii  libnewt0.52                 0.52.10-5+b1 Not Erik's Windowing Toolkit - tex
ii  libpopt0                    1.15-1       lib for parsing cmdline parameters
ii  libslang2                   2.2.2-2      The S-Lang programming library - r

whiptail recommends no packages.

whiptail suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to