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
>
公開討議
>
perlモジュールの不具合(-M)
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 #25701)
Return to Thread list
RSS
perlモジュールの不具合(-M) (2010-03-12 12:25 by
mk
#49392)
Reply
Create ticket
下記のように通常の変換ではうまくいきません
$ cat report.pl
#! /usr/bin/perl
use NKF;
my $utf = "日本語の入力" ;
my $sjis = nkf("-s",$utf) ;
print "utf:" . nkf("-Mj","$utf") . "\n" ;
print "sjis:" . nkf("-Mj","$sjis") . "\n" ;
$ perl report.pl
utf:=?ISO-2022-JP?B?GyRCRnxLXDhsJE5Gfk5P
sjis:=?ISO-2022-JP?B?GyRCRnxLXDhsJE5Gfk5PGyhC?=
$ nkf -v
Network Kanji Filter Version 2.1.0 (2009-11-17)
Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa).
Copyright (C) 1996-2009, The nkf Project.
$ cat /etc/issue
CentOS release 5.4 (Final)
Reply to #49392
×
Subject
Body
Reply To Message #49392 > 下記のように通常の変換ではうまくいきません > > $ cat report.pl > #! /usr/bin/perl > use NKF; > > my $utf = "日本語の入力" ; > my $sjis = nkf("-s",$utf) ; > > print "utf:" . nkf("-Mj","$utf") . "\n" ; > print "sjis:" . nkf("-Mj","$sjis") . "\n" ; > > $ perl report.pl > utf:=?ISO-2022-JP?B?GyRCRnxLXDhsJE5Gfk5P > sjis:=?ISO-2022-JP?B?GyRCRnxLXDhsJE5Gfk5PGyhC?= > > > $ nkf -v > Network Kanji Filter Version 2.1.0 (2009-11-17) > Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa). > Copyright (C) 1996-2009, The nkf Project. > > $ cat /etc/issue > CentOS release 5.4 (Final) >
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: perlモジュールの不具合(-M) (2010-03-12 20:54 by
naruse
#49405)
Reply
Create ticket
gitのHEADでは直っているので、2.1.1ではうまくいくようになります。
Reply to
#49392
Reply to #49405
×
Subject
Body
Reply To Message #49405 > gitのHEADでは直っているので、2.1.1ではうまくいくようになります。
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: perlモジュールの不具合(-M) (2010-03-15 13:15 by
mk
#49475)
Reply
Create ticket
ありがとうございます
Reply to
#49405
Reply to #49475
×
Subject
Body
Reply To Message #49475 > ありがとうございます
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