论坛: 公開討議 (Thread #28236)

--mime (-jM)の変換が変 (2010-12-22 22:38 by 河野康司 #54927)


--mime (-jM)の変換が変になる場合があります。

[] cat sample
Subject: あいうえおかきくけこさしす
X-Test: xyz
[]

という入力(例)を変換すると後に改行とスペースが入ることがあります。

Version 2.1.1 = x
Version 2.1.0 = x
Version 2.0.9 = x
Version 2.0.7 = o

この例の場合、Subject の文字を一つずつ減らしたり、増やしたりすると
正しくなったり、おかしくなったりします。

--- 以下、実行結果:

[] nkf --mime sample
Subject: =?ISO-2022-JP?B?GyRCJCIkJCQmJCgkKiQrJC0kLyQxJDMkNSQ3JDkbKEI=?=

X-Test: xyz
[]
[] /tmp/nkf209 --mime sample
Subject: =?ISO-2022-JP?B?GyRCJCIkJCQmJCgkKiQrJC0kLyQxJDMkNSQ3JDkbKEI=?=

X-Test: xyz
[]
[] /tmp/nkf207 --mime sample
Subject: =?ISO-2022-JP?B?GyRCJCIkJCQmJCgkKiQrJC0kLyQxJDMkNSQ3JDkbKEI=?=
X-Test: xyz
[]

回复到 #54927×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: --mime (-jM)の変換が変 (2010-12-23 01:19 by naruse #54928)

手元のUbuntu8.04とFreeBSD8.1(ともにx64)で試したところ、2.0.9では確かに再現しましたが、最新では再現しませんでした。
Network Kanji Filter Version 2.1.1 (2010-08-08) で改めて確かめてみて頂けませんか。
再現したら環境を教えてください
回复到 #54927

回复到 #54928×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: --mime (-jM)の変換が変 (2010-12-23 10:53 by 河野康司 #54930)


今 2.1.1 で試したところ、正常でした。
もしかしたら 2.1.0 と勘違いしたかも。
(確かめたつもりなのですが) _o_

テストした環境が手元にないので、週明けに再度確認・お返事いたします。

環境は Solaris10 です。

Solaris10 だと 2.1.1 が ruby のテストで Fail するので
(ruby 1.9.2 を入れていない)、全部を 2.1.1 には上げていないため、
これで混乱したかもしれません。
回复到 #54928

回复到 #54930×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: --mime (-jM)の変換が変 (2010-12-27 21:23 by 河野康司 #55011)

やはり私の勘違いであったようです。
Solaris10 sparc + gcc / SunStudio12(update 1)

2.1.0 では発生しますが、2.1.1 なら大丈夫でした。

お騒がせしました。  _o_

良い年をお迎えください。
回复到 #54927

回复到 #55011×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录