diff --git a/test/cases/verb-latin1-to-utf8/0001/cmd b/test/cases/verb-latin1-to-utf8/0001/cmd new file mode 100644 index 0000000000..2184c0849e --- /dev/null +++ b/test/cases/verb-latin1-to-utf8/0001/cmd @@ -0,0 +1 @@ +mlr --xtab --from test/input/latin1.xtab latin1_to_utf8 diff --git a/test/cases/verb-latin1-to-utf8/0001/experr b/test/cases/verb-latin1-to-utf8/0001/experr new file mode 100644 index 0000000000..e69de29bb2 diff --git a/test/cases/verb-latin1-to-utf8/0001/expout b/test/cases/verb-latin1-to-utf8/0001/expout new file mode 100644 index 0000000000..d453b3fd69 --- /dev/null +++ b/test/cases/verb-latin1-to-utf8/0001/expout @@ -0,0 +1,5 @@ +x The quick brown fox jumped over the lazy dogs. + +x Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich. + +x This¹ is² it³. diff --git a/test/cases/verb-utf8-to-latin1/0001/cmd b/test/cases/verb-utf8-to-latin1/0001/cmd new file mode 100644 index 0000000000..f52d1255a0 --- /dev/null +++ b/test/cases/verb-utf8-to-latin1/0001/cmd @@ -0,0 +1 @@ +mlr --xtab --from test/input/utf8.xtab utf8_to_latin1 diff --git a/test/cases/verb-utf8-to-latin1/0001/experr b/test/cases/verb-utf8-to-latin1/0001/experr new file mode 100644 index 0000000000..e69de29bb2 diff --git a/test/cases/verb-utf8-to-latin1/0001/expout b/test/cases/verb-utf8-to-latin1/0001/expout new file mode 100644 index 0000000000..34e9d3802a --- /dev/null +++ b/test/cases/verb-utf8-to-latin1/0001/expout @@ -0,0 +1,7 @@ +x The quick brown fox jumped over the lazy dogs. + +x Victor jagt zwlf Boxkmpfer quer ber den groen Sylter Deich. + +x (error) + +x This is it. diff --git a/test/input/latin1.xtab b/test/input/latin1.xtab new file mode 100644 index 0000000000..c445437c15 --- /dev/null +++ b/test/input/latin1.xtab @@ -0,0 +1,5 @@ +x The quick brown fox jumped over the lazy dogs. + +x Victor jagt zwlf Boxkmpfer quer ber den groen Sylter Deich. + +x This is it. diff --git a/test/input/utf8.xtab b/test/input/utf8.xtab new file mode 100644 index 0000000000..3b597cd70f --- /dev/null +++ b/test/input/utf8.xtab @@ -0,0 +1,7 @@ +x The quick brown fox jumped over the lazy dogs. + +x Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich. + +x Съешь же ещё этих мягких французских булок да выпей чаю. + +x This¹ is² it³.