Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Find Software
>
Text Editors
>
Text Processing
>
nkf Network Kanji Filter
>
Forums
>
公開討議
>
nkf 2.1.2
nkf Network Kanji Filter
Fork
Description
Project Summary
Developer Dashboard
Web Page
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
Downloads
List of Releases
Stats
Source Code
Code Repository list
Git
nkf
CVS
View Repository
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Communication
Forums
List of Forums
公開討議 (218)
Mailing Lists
list of ML
nkf-dev
News
Forums:
公開討議
(Thread #30335)
Return to Thread list
RSS
nkf 2.1.2 (2011-09-11 20:21 by
河野康司
#59534)
Reply
Create ticket
河野と申します。
nkf 2.1.2 のコンパイル時のテストで Fail が出ます。
(perl モジュールも同じ)
test_data/q-encode-utf-8 Fail
*** tmp.result.bad 2011年 9月 11日 ((日))
--- tmp.expect.bad 2011年 9月 11日 ((日))
***************
*** 1,3 ****
! 0000000 244 242 244 244 244 246 244 250 244 252 \n 244 253 244 255 244
! 0000020 257 244 261 244 263 \n
! 0000026
--- 1,3 ----
! 0000000 343 201 202 343 201 204 343 201 206 343 201 210 343 201 212 \n
! 0000020 343 201 213 343 201 215 343 201 217 343 201 221 343 201 223 \n
! 0000040
---
見てみると、デコードはちゃんとできているようで、
テスト時の expect データが UTF で作成されるのが原因みたいです。
# 私の環境は LANG が EUC です。
実際、LANG を UTF にしてコンパイルすると全部通ります。
以上、ご報告です。
Reply to #59534
×
Subject
Body
Reply To Message #59534 > 河野と申します。 > > nkf 2.1.2 のコンパイル時のテストで Fail が出ます。 > (perl モジュールも同じ) > > test_data/q-encode-utf-8 Fail > *** tmp.result.bad 2011年 9月 11日 ((日)) > --- tmp.expect.bad 2011年 9月 11日 ((日)) > *************** > *** 1,3 **** > ! 0000000 244 242 244 244 244 246 244 250 244 252 \n 244 253 244 255 244 > ! 0000020 257 244 261 244 263 \n > ! 0000026 > --- 1,3 ---- > ! 0000000 343 201 202 343 201 204 343 201 206 343 201 210 343 201 212 \n > ! 0000020 343 201 213 343 201 215 343 201 217 343 201 221 343 201 223 \n > ! 0000040 > > --- > 見てみると、デコードはちゃんとできているようで、 > テスト時の expect データが UTF で作成されるのが原因みたいです。 > > # 私の環境は LANG が EUC です。 > > 実際、LANG を UTF にしてコンパイルすると全部通ります。 > > 以上、ご報告です。
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.)
Login
Nickname
Preview
Post
Cancel
RE: nkf 2.1.2 (2011-09-11 21:48 by
naruse
#59537)
Reply
Create ticket
テストのミスで、nkf -w とすべき所、-w を抜かしてしまっていました。
ecf2a983ff で修正しています。
Reply to
#59534
Reply to #59537
×
Subject
Body
Reply To Message #59537 > テストのミスで、nkf -w とすべき所、-w を抜かしてしまっていました。 > ecf2a983ff で修正しています。
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.)
Login
Nickname
Preview
Post
Cancel
RE: nkf 2.1.2 (2011-09-12 21:42 by
河野康司
#59553)
Reply
Create ticket
これは気がつきませんで失礼いたしました。
「ソース」のほうもチェックするようにいたします。
ありがとうございました。
Reply to
#59534
Reply to #59553
×
Subject
Body
Reply To Message #59553 > これは気がつきませんで失礼いたしました。 > 「ソース」のほうもチェックするようにいたします。 > ありがとうございました。
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.)
Login
Nickname
Preview
Post
Cancel