OSDN Git Service
(root)
/
nkf
/
nkf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e6f4007
)
Add test for 4byte UTF-8.
author
NARUSE, Yui
<naruse@users.sourceforge.jp>
Sun, 26 Apr 2009 10:35:02 +0000
(19:35 +0900)
committer
NARUSE, Yui
<naruse@users.sourceforge.jp>
Sun, 26 Apr 2009 10:35:02 +0000
(19:35 +0900)
nkf_test.pl
patch
|
blob
|
history
diff --git
a/nkf_test.pl
b/nkf_test.pl
index
204a4c5
..
0b32312
100644
(file)
--- a/
nkf_test.pl
+++ b/
nkf_test.pl
@@
-186,7
+186,7
@@
print "UTF8 to U16L0..";&test("$nkf --ic=utf-8 --oc=utf-16le", $example{'utf8N'
print "UTF8 to U16B...";&test("$nkf --ic=utf-8 --oc=utf-16be-bom", $example{'utf8N'},$example{'u16B'});
print "UTF8 to U16B0..";&test("$nkf --ic=utf-8 --oc=utf-16be", $example{'utf8N'},$example{'u16B0'});
-
+print "UTF8 to UTF8...";&test("$nkf -w","\xf0\xa0\x80\x8b","\xf0\xa0\x80\x8b");
# From JIS