Mercurial > jwe > octave
comparison test/file-encoding/test_CP1252.m @ 31154:7d4cf04665e6
oruntests.m: Convert read file from input encoding (bug #62780).
* scripts/testfun/oruntests.m (has_functions, has_tests): Convert read binary
data from input encoding to UTF-8.
* test/file-encoding: Add tests for this use case.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 20 Jul 2022 16:37:58 +0200 |
parents | f125ddb46055 |
children |
comparison
equal
deleted
inserted
replaced
31153:94998332d787 | 31154:7d4cf04665e6 |
---|---|
29 ## @end deftypefn | 29 ## @end deftypefn |
30 | 30 |
31 function test_CP1252 () | 31 function test_CP1252 () |
32 help ("test_CP1252"); | 32 help ("test_CP1252"); |
33 endfunction | 33 endfunction |
34 | |
35 %!assert (double ("ÄÖÜäöü ŠŽšž"), | |
36 %! [195 132 195 150 195 156 195 164 195 182 195 188 32 ... | |
37 %! 197 160 197 189 197 161 197 190]) |