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

Bug#927074: UTF-8 conversion broke code base



Package: src:anthy
Version: 1:0.3-8
Severity: important
Tags: patch

NOTE: 
 * src-util/input.c and src-worddic/word_lookup.c may deserve further check
   (git commit message in attached file needs to be corrected)
 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923948 is addressed
   again in the patch series attached here against 1:0.3-8.

Attached patch:
   You need to package the patch series applied source.  This is not
   ready for release as is.  Patch base is salsa debian branch.

Question: How should we proceed from here.  Should we make upstream
tarball?  Who updates upstream now?  Who knows dictionary building ....
  
== PROBLEM1: DEBUG code is broken

After building the source with debuild, you can run debug code as:
  $ test/checklib
  checking
  (あいうえお)
  (アイウエオ)
  (あいうえお)
  (アイウエオ)
  ������������������������������
  done
The last line before "done" should print NTH_HALFKANA_CANDIDATE thus
broken.

== PROBLEM 2: ZIPCODE

7 digits number returns odd choice.
  * 1000000 -> 〓延根〓遵〓篁g〓〓〓
  * 2270000 -> 腑〓〓綏〓〓罔〓〓絽〓〓〓〓〓
  * 2270001 -> No problem
  * ...
  * 2270030 -> No problem
  * 2270031 -> 腑〓〓綏〓〓罔〓〓絽〓〓〓〓〓絲阪〓〓〓
  * 2270032 -> 腑〓〓綏〓〓罔〓〓絽〓〓〓〓〓〓〓〓〓〓
  * ...
  * 2270044 -> 腑〓〓綏〓〓罔〓〓絽〓〓〓〓〓〓〓〓〓〓

ZIPCODE to address conversion seems to have problem.

== PROBLEM3: Anthy seems stupid recently.

Unlike above 2 clear reproducible bugs, many people seem to think recent
anthy is stupid.  They seems to suspect UTF-8 transition has problem.

See patch for technical details to be addressed.

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

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Attachment: patch.tar.gz
Description: application/gzip


Reply to: