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

Re: [Cle-devel] UTF8 patch for dict-zh



Rex Tsai wrote:
>   我发现自行编译的 dict-zh 也有这个问题。但是 bbs.yzu.edu.tw 上的 dictd
> 则没有问题。这么久之后有人清楚这是甚么缘故吗 ? 目前□知道 dictd 读取
> index file 时,index 必须先被排序,如果排序的位置错了,字就搜不到。所以
> 是 sort 的版本不一样 ?

  Well, 花了点时间确认一下,果然是排序的问题。在排序前要先把 locale
(LANG,LC_*等) 弄对,如果设成定 zh_TW.Big5,sort 排序便会将大写开头的字眼
排在小写之前。

  我猜想 rpm 版本也有这个问题 ? :-)

新版的 Debian package 已经放在这里
deb http://kalug.linux.org.tw/~chihchun/debian/dict-zh ./
deb-src http://kalug.linux.org.tw/~chihchun/debian/dict-zh ./

$ apt-get update
$ apt-get install dict-zh
--
-Rex, geek by nature linux by choice

-- 
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.



Reply to: