From 5675750b04ffab7d17e5f41b9d169d59fb298adf Mon Sep 17 00:00:00 2001 From: Daniel Neus Date: Wed, 17 Aug 2016 19:14:06 +0200 Subject: fix source file encoding ANSI -> UTF-8 should fix: ``` WARN: Invalid character encountered in file /home/travis/build/randombit/botan/src/tests/test_utils.cpp at line 381 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. WARN: Invalid character encountered in file /home/travis/build/randombit/botan/src/lib/pubkey/ecies/ecies.cpp at line 311 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. ``` --- src/tests/test_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests/test_utils.cpp') diff --git a/src/tests/test_utils.cpp b/src/tests/test_utils.cpp index 04d1092d8..3d474d605 100644 --- a/src/tests/test_utils.cpp +++ b/src/tests/test_utils.cpp @@ -378,7 +378,7 @@ class Charset_Tests : public Text_Based_Test result.test_throws("conversion fails for non-Latin1 characters", []() { - // "abcdefŸabcdef" + // "abcdefÅžabcdef" std::vector input = { 0x00, 0x61, 0x00, 0x62, 0x00, 0x63, 0x00, 0x64, 0x00, 0x65, 0x00, 0x66, 0x01, 0x78, 0x00, 0x61, 0x00, 0x62, 0x00, 0x63, 0x00, 0x64, 0x00, 0x65, 0x00, 0x66 }; @@ -406,7 +406,7 @@ class Charset_Tests : public Text_Based_Test result.test_throws("conversion fails for non-Latin1 characters", []() { - // "abcdefŸabcdef" + // "abcdefÅžabcdef" std::vector input = { 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0xC5, 0xB8, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66 }; -- cgit v1.2.3