星期二, 九月 26, 2006

lividict的dict服务似乎不那么合乎标准


尽管livid的说明上说的是参照rfc2229来的,可是实际上cdict, xdict等中文辞典文件的编码还是GB系的,不符合rfc上的规定(ISO10646和utf-8) 。可是lividict网站上的编码却明明是utf-8,而且中文解释全都正常!难道livid的python程序自动转换encoding了么?

附rfc2229的原话:
2.2. Lexical Tokens

Commands and replies are composed of characters from the UCS
character set [ISO10646] using the UTF-8 [RFC2044] encoding. More
specifically, using the grammar conventions from [RFC822]:

没有评论: