projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
u8-istream: Fix handling of UTF-8 byte order marks.
[pspp]
/
tests
/
libpspp
/
u8-istream.at
diff --git
a/tests/libpspp/u8-istream.at
b/tests/libpspp/u8-istream.at
index 842e77336d0f1364ab479009bb1b91c19fa70f10..9757f9605b7b77fd9d1cf55b3db1403ac479f9f0 100644
(file)
--- a/
tests/libpspp/u8-istream.at
+++ b/
tests/libpspp/u8-istream.at
@@
-109,6
+109,11
@@
Auto mode
entrée
UTF-8 mode
])
+AT_CHECK([printf '\357\273\277entr\303\251e\n' | u8-istream-test read - Auto], [0], [dnl
+UTF-8 mode
+entrée
+UTF-8 mode
+])
AT_CLEANUP
AT_SETUP([read ISO-8859-1 as Auto,ISO-8859-1])